Solved


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

10 years ago

Solved


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.

10 years ago

Solved


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

10 years ago

Solved


Calculate geostrophic current
eta0=0.01; R=300; f=0.01; g=9.81; x=-500:50:500; y=-500:50:500; [x y]=meshgrid(x,y); eta=eta0*exp(-(x.^2+...

10 years ago

Solved


Ceil Me Now
Get the ceiling of the input matrix

10 years ago

Solved


Find my daddy long leg (No 's')
Given the ratio of the two legs,and the hypotenuse, find the value of the bigger leg

10 years ago

Solved


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

10 years ago

Solved


Create square matrix filled with ones.
Create square matrix filled with ones, of size x. Example [1 1; 1 1]

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


how to find diagonal elements of a matrix?
how to find diagonal elements of a matrix?

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


Create square matrix filled with equal numbers.
Create square matrix filled with equal numbers; n - size,x - given number .Example x=2,n=2 [2 2 ; 2 2]

10 years ago

Solved


Check given number is odd or even
Using input [x], check given number is odd or even if x is odd, output should be true.

10 years ago

Solved


Super Basic - 3 + true equals ??
Solve the title

10 years ago

Solved


Get 1-4-3-4-4
Get the value of the indices in the title and assign it to an array

10 years ago

Solved


Sum of Optimus
Get the sum of primes :)

10 years ago

Solved


Set number x for diagonal of square matrix, which size is n.
Set number x for diagonal of square matrix, other values should be equlal 0, which size is n. Example n=2, x=4: [4 0; 0 4]

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


Prime number removal
remove all prime numbers from the input e.g. input = 1 2 3 4 5 6 7 8 9 10 11 12 ...

10 years ago

Solved


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

10 years ago

Solved


Calculating cost
You sold a Product at $x and gain 10% What was the cost of the product?

10 years ago

Solved


Find the qube of a give number.
You are given a number, find the qube of that number.

10 years ago

Load more