Risolto


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

circa 9 anni fa

Risolto


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

circa 9 anni fa

Risolto


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

circa 9 anni fa

Risolto


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)

circa 9 anni fa

Risolto


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

circa 9 anni fa

Risolto


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.

circa 9 anni fa

Risolto


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

circa 9 anni fa

Risolto


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

circa 9 anni fa

Risolto


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

circa 9 anni fa

Risolto


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

circa 9 anni fa

Risolto


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

circa 9 anni fa

Risolto


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.

circa 9 anni fa

Risolto


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

circa 9 anni fa

Risolto


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

circa 9 anni fa

Risolto


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

circa 9 anni fa

Risolto


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

circa 9 anni fa

Risolto


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

circa 9 anni fa

Risolto


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

circa 9 anni fa

Risolto


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;

circa 9 anni fa

Risolto


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.

circa 9 anni fa

Risolto


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

circa 9 anni fa

Risolto


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.

circa 9 anni fa

Risolto


Sum two matrices
Take two incoming matrices, and sum them

circa 9 anni fa

Risolto


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

circa 9 anni fa

Risolto


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

circa 9 anni fa

Risolto


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

circa 9 anni fa

Risolto


Matrix Max Finder
Output the maximum value in a matrix

circa 9 anni fa

Risolto


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

circa 9 anni fa

Problema


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

circa 9 anni fa | 0 | 34 risolutori

Risolto


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

circa 9 anni fa

Carica altro