Solved


Basic commands - What if you can't use mod?
There is a function to calculate remainder after division, but it's not mod. Can you remmeber that function? HINT: Try to lo...

9 years ago

Solved


Find x in provided equation!
x^2-2*x+1=0 What is x? (hint: use "roots")

9 years ago

Solved


Basics - not so easy division
Please make a function whcih divides x/y, but pay attention for some exceptions with NaN,0,Inf. Sometimes return "ERROR" instead...

9 years ago

Solved


list folder contents
list the contents of a folder

9 years ago

Solved


double
Return twice the value of the number

9 years ago

Solved


Basic commands - Which matlab files are here?
Please make a function which will list all specific for Matlab files in current folder.

9 years ago

Solved


Basic commands - Where did I install Matlab?
Please make a function, which returns path to Matlab installation folder

9 years ago

Solved


square root
find square root of a number

9 years ago

Solved


Basic commands - What platform are you using?
Please ask matlab waht platform are you using.

9 years ago

Solved


Solve system of equation!
Solve provided system of equation, and find x and y. 2*x+1*y=3 1*x+1*y=2 (hint: use inverse matrix)

9 years ago

Solved


Basic commands - Which licence do you use?
Please ask Matlab which license do you have on computer. Interesting fact: Pay attention what number of license has Cody. ...

9 years ago

Solved


Interpolate data!
There are two data that observed at two different location. x indicate position, d indicate value of data. x=[1 10] d=[2 ...

9 years ago

Solved


Extrack values in 2-dimensional data
There are data c at (x,y) x=1:10;y=1:10; [x,y]=meshgrid(x,y) c=exp(sqrt(x.^2+y.^2)) Estinate data c at (x=5.4,y=7....

9 years ago

Solved


Move if I am Optimus Prime
If the number is a prime, roll out!

9 years ago

Solved


Given X and Y, Get the Displacement Travelled
Given startX, start Y, endX and endY Get the displacement travelled %x = [startX endX] %y = [startY endY] x = [0 3]; y = [0...

9 years ago

Solved


Primes Checker
Given variable inputs Check if they are prime numbers

9 years ago

Solved


Combine the digits to output numbers
input could be of any length e.g. 1. in1 = 1 in2 = 2 output = 12 2. in1 = 2 in2 = 1 in3 = 0 output = 210

9 years ago

Solved


Solar panel efficiency
Calculate the solar panel efficiency at STC for the system power rating 400W and the collector area = 2.79 meter square.

9 years ago

Solved


x&u are two vectors then Y=x+u???
x&u are two vectors then Y=x+u???

9 years ago

Solved


Determine point is located in a circle or not
Using input [x] and [y], determine the points (x,y) is located inside of circle (x^2+y^2=1) if point is located in circle,...

9 years ago

Solved


Where is 1?
There is a 3d matrix [A] that consist of many zeros and only one. A=zeros(100,100,100); i=randi(100); j=randi(100); ...

9 years ago

Solved


The mean of the population
Find the mean of the population.

9 years ago

Solved


how to find unique values in matrix
how to find unique values in matrix for give x matrix.

9 years ago

Solved


Make three random number on a sphere
Make three random number but these numbers, [x],[y], and [z], should accomplish x^2+y^2+z^2=1 (hint: spherical coordinate ...

9 years ago

Solved


Draw circles!
How to plot circle using matlab? using given variable [s], calculate x and y points of the circle that center is (0,0), radiu...

9 years ago

Solved


Calculate gradient
x=1:0.1:5; y=x.^2; calculate gradient (dy/dx) using numerical method. This means dydx(i)=(y(i+1)-y(i))/(x(i+1)-x(i)...

9 years ago

Solved


How to permute given 3d matrix?
A(:,:,1)=[1 3] A(:,:,2)=[2 2] A(:,:,3)=[4 3] Change rows to columns and columns to rows, similar to transpose. Resul...

9 years ago

Solved


Make 3d matrix from other matrix
A=[1 1;2 2]; B=[2 2;3 3]; C=[0 0;1 3]; Using given three matrix, make 3 dimensional matrix [D] by stacking.

9 years ago

Solved


Removing vibration!
There are [y] that vary with [x] but y including small useless vibration. x=1:10 y=[1.71 2.03 3.28 4.05 5.10 6.82 7.69 8.3...

9 years ago

Solved


Red and green towers
Frankie has a large number of wooden cubes, painted in red and green. He is building little towers with his cubes, by stacking t...

9 years ago

Load more