解決済み


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

約9年 前

解決済み


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

約9年 前

解決済み


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

約9年 前

解決済み


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)

約9年 前

解決済み


Check if inputted variable is a string or a number
Check if a inputted variable is a number or a string, given a string input (i.e. '1' is 1 and thus a number, 'a' is a string).

約9年 前

解決済み


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.

約9年 前

解決済み


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

約9年 前

解決済み


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

約9年 前

解決済み


Find the sum of the negative elements under the main diagonal.
Example Input A=[1 2; -3 0] Output -3

約9年 前

解決済み


Add Me To Death (Sum sum sum)
Given certain vector, sum of the input vector, get the sum of 2 adjacent numbers in the input, and sum of the output vector (wh...

約9年 前

解決済み


Calculate solution of given polynomial
For example, y=function([3 -2 -4]) In here, input vector indicate 3*x^2-2*x-4, y is solution of former equation. y=[1.5...

約9年 前

解決済み


Calculate the hypotenuse of a right triangle without using ^ and sqrt ()
Find out the hypotenuse of right triangle. Say a = 4, b = 3 then c = 5 Please don't use ^ and sqrt() function.

約9年 前

解決済み


Modulation index
The amplitude of the carrier signal is 2V and the amplitude of the modulating signal is 8V. Find its modulation index.

約9年 前

解決済み


Count me in
Count the number of occurrences of the second input in the first input Ex. x1 = 12344455511; x2 =2; output = 1 ...

約9年 前

解決済み


Outer product of multiple vectors
In tensor algebra, it is often useful to define a tensor as a product of lower order tensors. Similarly, a multidimensional arra...

約9年 前

解決済み


Determinant of a 3x3 Matrix
Return the determinant of a 3x3 matrix. The built-in Matlab function det is not allowed.

約9年 前

解決済み


Calculate inverse matrix in m by n matrix
x=(1:10)' y=roundn(2*x+7*rand(size(x)),-1) a*x=y Estimate a using inverse matrix calculation. This is principle of li...

約9年 前

解決済み


Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

約9年 前

解決済み


Solve expression II
Solve given expression. alpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1) beta=5exp((-x+y-60)/20) result=alpha+beta;

約9年 前

解決済み


Find two triangular numbers whose sum is input.
Find two triangular numbers whose sum is _input_. Note: The difference beetween the triangular numbers should be minimum.

約9年 前

解決済み


How many bottles can you drink?
Sometimes if you buy a drink in a glass bottle you can return that bottle and get some money back. Let's assume we have "x" a...

約9年 前

解決済み


Sum all integers from 1 to 2^x
Given a number x, your function must return the summation of all integers from 1 to 2^x.

約9年 前

解決済み


Sum two matrices
Take two incoming matrices, and sum them

約9年 前

解決済み


Find the index of the lowest number in a matrix
Take a matrix, and find the [row cal] index of the lowest number

約9年 前

解決済み


Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

約9年 前

解決済み


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

約9年 前

解決済み


Matrix Max Finder
Output the maximum value in a matrix

約9年 前

解決済み


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

約9年 前

問題


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

約9年 前 | 1 | 35 個のソルバー

解決済み


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

約9年 前

さらに読み込む