Solved

Replace 0 indices in array with 1's

Take a incoming vector, and replace 0's with ones

3 years ago

Solved

Matrix element wise multiplication

Take two incoming vectors, and multiply them element wise

3 years ago

Solved

Vector indexing: lower than mean

Find all values in a vector lower than the mean of the vector

3 years ago

Solved

Rewrite setdiff to account for non-unique values

Setdiff(a,b) is a function that will remove all values of b from a. Sometimes, you need this function to do a little bit extra,...

3 years ago

Solved

Make one vector from two others

You are given two vectors of equal length. Your task is to create a MATLAB script that will repeat all of the values in the fir...

3 years ago

Solved

Simple Vector Addition

Take two incoming vectors and output the sum of the two vectors

3 years ago

Solved

Vector Element Multiplication

Take two incoming vectors, and output the element wise multiplication of the vectors.

3 years ago

Solved

Matrix Generation from Vector Multiplication

Output the matrix generated from multiplying two vectors together

3 years ago

Solved

Find the mean of two vectors

Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)

3 years ago

Solved

Find the sum of the largest two elements in a vector

With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

3 years ago

Solved

Component area

Find the area of the component below, all measurements are in mm <<https://image.ibb.co/hocruF/Component.png>>

3 years ago

Solved

concatenate the elements

you should concatenate the elements of a matrix in one dimensional array, for example if the input is A = [1 2 3; 4 5 6; 7 ...

3 years ago

Solved

UICBioE240 problem 1.13

Compute the following - y = x^5/(x^-1) and y = (1-(1/x^5))^-1. Have the final answer of y to equal a 1 by 2 vector.

3 years ago

Solved

Calories in a slice of pizza?

The total calories C in a pizza is printed on its box. You know the angle A (degrees) of the slice you placed on your plate. Ple...

3 years ago

Problem

Calculate feeling temperature before climbing a mountain

I sometimes climb a mountain. As is well known, when the altitude becomes 100 (m) higher, the temperature lowers by 0.6 degrees...

3 years ago | 2 | 40 solvers

Solved

Generate the Matrix!

Given n, generate the following matrix: a = [ n n-1 n-2 ... 2 1; n-1 n-1 n-2 ... 2 1; n-2 n-2 n-2 ... 2 1;...

3 years ago

Solved

Getting the absolute index from a matrix

This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to get the <http://www.ma...

3 years ago

Solved

Let's get back to school, and create multiplication tables

For a given range, create multiplication tables. (start is always < endno) Example start = 17 endno = 19 Then, ...

3 years ago

Solved

Clean the List of Names

Given a list of names in a cell array, remove any duplications that result from different capitalizations of the same string. So...

3 years ago

Solved

Reshape a Vector

Write a function that accept three inputs. The first one is a row vector S. The second and third arguments are m and n which de...

3 years ago

Solved

Replace values out of an interval with the lower or upper values

For a vector or matrix X and an interval [n1,n2], the function replace every element of x inferior to n1 by n1, and every elemen...

3 years ago

Solved

Matlab Basics - Assigning Variables

Assign different types of data to variables: integer, double, and strings Example: A is a double, for example 2.34 B is a...

3 years ago

Solved

Sunday bonus

Submit a solution on any Sunday and you will get 10 points. Only for MATLAB fans!

3 years ago

Solved

Remove element(s) from cell array

You can easily remove an element (or a column in any dimension) from a normal matrix, but assigning that value (or range) empty....

3 years ago