A résolu


ESEMPIO
controllo uso funzioni

plus de 9 ans il y a

A résolu


Remove all the columns contains only zero
Remove the column from the matrix which has only zeros . Refer the Example below a= 1 0 3 0 23 0 56 0 1 ...

plus de 9 ans il y a

A résolu


Create vector as shown in test cases
Create vector as shown in test cases

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


Slope of the line passing through the point [x1 y1] and [x2 y2]
Determin the slope of Line passing through the points a=[x1 y1] and b=[x2 y2]

plus de 9 ans il y a

A résolu


Marvel or DC?
Given input vector determine if there's a DC value. If there is, output 'DC', else output 'MARVEL'

plus de 9 ans il y a

A résolu


Calculate RMSE
RMSE(Root Mean Square Error) is widely used to calculate error. Calculate RMSE between [a] and [b] a=[1 2 3 4] b=[0 1 2 ...

plus de 9 ans il y a

A résolu


Basic commands - Left division matrix
Please write a function which will left division of A,B Pay attention this is right division: A/B

plus de 9 ans il y a

A résolu


Basic commands - logarithmically spaced vector
Make a function, which will give a vector: y=[ 0.01 0.1 1 10 ... 10^x];

plus de 9 ans il y a

A résolu


How to find average of each column ?
How to find average of each column for a given matrix?

plus de 9 ans il y a

A résolu


How find maximum element of a column in matrix?
How find maximum element of a column in matrix?

plus de 9 ans il y a

A résolu


How find minimum element of a column in matrix?
How find minimum element of a column in matrix?

plus de 9 ans il y a

A résolu


How find sum of elements of each column in matrix?
How find sum of elements of each column in matrix?

plus de 9 ans il y a

A résolu


how to find characteristic polynomial of a given matrix?
how to find characteristic polynomial of a given matrix?

plus de 9 ans il y a

A résolu


how to round off a given number containing decimals?
how to round off a given number containing decimals?

plus de 9 ans il y a

A résolu


HOW TO FIND SINGULAR VALUE OF A MATRIX?
HOW TO FIND SINGULAR VALUE OF A MATRIX?

plus de 9 ans il y a

A résolu


product of given two numbers?
product of given two numbers?

plus de 9 ans il y a

A résolu


Basic commands - Excuse me, what time is it?
Please write a function, which will return current hours and minutes, please notice we are using 24h time. Return a vector li...

plus de 9 ans il y a

A résolu


How to Concatenate two strings?
How to Concatenate two strings?

plus de 9 ans il y a

A résolu


how to convert given text into all upper case letters?
how to convert given text into all upper case letters?

plus de 9 ans il y a

A résolu


How to devide each element of matrix a with matrix b of same size?
How to devide each element of matrix a with matrix b of same size?

plus de 9 ans il y a

A résolu


Calculate representive values (max. min. std)
A B C -------------------------- t=1 2.2 2.6 2.4 t=2 2.4 2.8 2.2 t=3 2.6 2.7 2....

plus de 9 ans il y a

A résolu


Calculate using 'for' statements
Equations are easily calculated using matlab. Especially, when we calculate multivariable(more than two) variables, "meshgrid" f...

plus de 9 ans il y a

A résolu


Make random number between a and b
Function rand make arbitrary number between 0 and 1. Using inputs, a, and b, make random number between given two values.

plus de 9 ans il y a

A résolu


Make sorting matrix without sort function.
It is very valuable for student to simple sorting program because they learn about use of loop and if-statement. Sort given inpu...

plus de 9 ans il y a

A résolu


Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...

plus de 9 ans il y a

A résolu


Triplicate me
Given an input vector, output a 3n vector with all elements of input vector repeated thrice Example : in->[1 2 3 5] out...

plus de 9 ans il y a

A résolu


Calculate correlation.
There are two data. y1=[0 1 2 3 4]' y2=[2 3 4 5 6]' We can see positive relationship between y1 and y2. The relations...

plus de 9 ans il y a

A résolu


Ceil Me Now
Get the ceiling of the input matrix

plus de 9 ans il y a

A résolu


Make roundn function
Make roundn function. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) y=0.56 ...

plus de 9 ans il y a

Charger plus