Solved


Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

casi 3 años ago

Solved


Matrix Max Finder
Output the maximum value in a matrix

casi 3 años ago

Solved


Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise

casi 3 años ago

Solved


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

casi 3 años ago

Solved


Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

casi 3 años ago

Solved


Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

casi 3 años ago

Solved


Vector indexing: lower than mean
Find all values in a vector lower than the mean of the vector

casi 3 años 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,...

casi 3 años 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...

casi 3 años ago

Solved


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

casi 3 años ago

Solved


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

casi 3 años ago

Solved


Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

casi 3 años 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)

casi 3 años 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.

casi 3 años ago

Solved


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

casi 3 años 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 ...

casi 3 años 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.

casi 3 años 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...

casi 3 años ago

Solved


sum all digits
input = 123456789, output = 1+2+3+4+5+6+7+8+9 = 45

casi 3 años 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...

alrededor de 3 años ago | 0 | 31 solvers

Solved


Convert degrees to radians
Given input in degrees, output to radians

alrededor de 3 años ago

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;...

alrededor de 3 años 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...

alrededor de 3 años 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, ...

alrededor de 3 años 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...

alrededor de 3 años 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...

alrededor de 3 años 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...

alrededor de 3 años 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...

alrededor de 3 años ago

Solved


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

alrededor de 3 años 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....

alrededor de 3 años ago

Load more