Solved

Replace 0 indices in array with 1's

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

plus de 3 ans ago

Solved

Matrix element wise multiplication

Take two incoming vectors, and multiply them element wise

plus de 3 ans ago

Solved

Matrix multiplication

Multiply two incoming matrices via matrix multiplication

plus de 3 ans ago

Solved

Vector indexing: lower than mean

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

plus de 3 ans 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,...

plus de 3 ans 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...

plus de 3 ans ago

Solved

Simple Vector Addition

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

plus de 3 ans ago

Solved

Vector Element Multiplication

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

plus de 3 ans ago

Solved

Matrix Generation from Vector Multiplication

Output the matrix generated from multiplying two vectors together

plus de 3 ans 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)

plus de 3 ans 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.

plus de 3 ans ago

Solved

Component area

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

plus de 3 ans 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 ...

plus de 3 ans 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.

plus de 3 ans 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...

plus de 3 ans 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...

plus de 3 ans 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;...

plus de 3 ans 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...

plus de 3 ans 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, ...

plus de 3 ans 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...

plus de 3 ans 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...

plus de 3 ans 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...

plus de 3 ans 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...

plus de 3 ans ago

Solved

Sunday bonus

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

plus de 3 ans 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....

plus de 3 ans ago