Gelöst


ESEMPIO
controllo uso funzioni

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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]

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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?

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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.

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


Ceil Me Now
Get the ceiling of the input matrix

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Mehr laden