Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


list folder contents
list the contents of a folder

casi 10 años hace

Resuelto


double
Return twice the value of the number

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


square root
find square root of a number

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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)

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


Primes Checker
Given variable inputs Check if they are prime numbers

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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.

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Cargar más