解決済み


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

約4年 前

解決済み


Matrix Max Finder
Output the maximum value in a matrix

約4年 前

解決済み


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

約4年 前

解決済み


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

約4年 前

解決済み


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

約4年 前

解決済み


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

約4年 前

解決済み


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

約4年 前

解決済み


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

約4年 前

解決済み


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

約4年 前

解決済み


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

約4年 前

解決済み


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

約4年 前

解決済み


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

約4年 前

解決済み


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)

約4年 前

解決済み


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.

約4年 前

解決済み


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

約4年 前

解決済み


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

約4年 前

解決済み


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.

約4年 前

解決済み


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

約4年 前

解決済み


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

約4年 前

問題


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

4年以上 前 | 2 | 45 個のソルバー

解決済み


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

4年以上 前

解決済み


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

4年以上 前

解決済み


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

4年以上 前

解決済み


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

4年以上 前

解決済み


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

4年以上 前

解決済み


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

4年以上 前

解決済み


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

4年以上 前

解決済み


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

4年以上 前

解決済み


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

4年以上 前

解決済み


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

4年以上 前

もっと読み込む