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

6年以上 前

Matrix Max Finder
Output the maximum value in a matrix

6年以上 前

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

6年以上 前

Matrix multiplication
Multiply two incoming matrices via matrix multiplication

6年以上 前

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

6年以上 前

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

6年以上 前

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

6年以上 前

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

6年以上 前

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

6年以上 前

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

6年以上 前

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

6年以上 前

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

6年以上 前

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)

6年以上 前

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.

6年以上 前

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

6年以上 前

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

6年以上 前

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.

6年以上 前

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

6年以上 前

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

6年以上 前

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

6年以上 前 | 3 | 57 個のソルバー

Given input in degrees, output to radians

6年以上 前

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

6年以上 前

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

6年以上 前

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

6年以上 前

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

6年以上 前

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

6年以上 前

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

6年以上 前

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

6年以上 前

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

6年以上 前

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

6年以上 前