A résolu


Sort matrix a according to ascending order of B!
To be specific, A=[9 3 1 3] B=[1 3 2 4] are provided, ascending sorting of B is [B(1) B(3) B(2) B(4)]. Thus ...

presque 10 ans il y a

A résolu


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.

presque 10 ans il y a

A résolu


Extract a part of matrix!
There is matrix A A=[1 2 3; 4 5 6; 7 8 9] Extract a part of matrix A from (2,2) to (3,3). Result should...

presque 10 ans il y a

A résolu


Change coordinate from Cartesian to spherical coordinates.
[x,y,z] -> [t,p,r] [x,y,z] is a point in the Cartesian coordinates. change its coordinate to spherical (t,p,r), t is azimuth,...

presque 10 ans il y a

A résolu


Calculate temperature of object
An object that have initial temperature T0 is in a room that has temperature Ts. The object's temperature in time t is T=Ts+(...

presque 10 ans il y a

A résolu


Change matrix to vector2
From x = 4 3 5 1 5 1 To y = 4 3 5 1 ...

presque 10 ans il y a

A résolu


Calculate inverse matrix in square matrix
A=eye(3) Calculate inverse matrix of given input. B=function(A) ans = 1 0 0 0 1 0 ...

presque 10 ans il y a

A résolu


Create given matrix
y = 0 0 1 1 0 0 0 0 1 1 0 0 1 1 1 1 1 1 ...

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

presque 10 ans il y a

A résolu


How to calculate log?
There is a log that have base 5. How to calculate? log5(x)?

presque 10 ans il y a

A résolu


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

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

presque 10 ans il y a

A résolu


Weighted moving average
x1=[1 2 1]; y1=[1 2 2 4 5 6 6 8]; Make function for weighted moving average. z(i)=(x1(i)*y1(i)+x1(i+1)*y1(i+1)+x1(i+2)*y1...

presque 10 ans il y a

A résolu


Two dimensional moving average
A=[1 2 3 4 5 1 2 2 2 3 2 3 3 3 4 1 1 4 4 2] B=[1 1;1 1]; % This is can be used for weight factor of moving a...

presque 10 ans il y a

A résolu


Check that given number is 3*n
Check that input of multiple of three (3*n). if given number is included in 3*n, print true. (hint: use mod)

presque 10 ans il y a

A résolu


Calculate some equation
Using given inputs x and z, make two outputs that are y1 = (xz)/(x/z)^2 + 14x^2 - 0.8z^2 y2 = x^z - z^x + (x/z)^2 - (z/x...

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

presque 10 ans il y a

A résolu


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

presque 10 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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


Basic commands - search path
Please list all search path from Matlab.

presque 10 ans il y a

Problème


Modulation index
The amplitude of the carrier signal is 2V and the amplitude of the modulating signal is 8V. Find its modulation index.

presque 10 ans il y a | 3 | 89 solveurs

Problème


DC-DC boost converter
Find the output voltage of a DC-DC boost converter when its input voltage is 12V and the duty cycle ratio is 0.6.

presque 10 ans il y a | 7 | 74 solveurs

A résolu


UICBioE240 problem 1.17
In the expression (2+5i), how does MATLAB read the expressions A = 2+5i B = 2+5*i C = both are okay Write capital letter a...

presque 10 ans il y a

A résolu


UICBioE240 2.1
This will be useful later in the course, in conjunction to clc and clear all, what is the command to close all figure windows th...

presque 10 ans il y a

A résolu


UICBioE240 problem 1.18
exp(pi/5*i) and exp(pi/5i). Is there any difference in result? Write yes or no as a string.

presque 10 ans il y a

A résolu


Cody Matlab Version
What is the current Cody Matlab Release? *Output:* string *Examples:* '(R2012a)' or 'R2012a' Hint: We have mo...

presque 10 ans il y a

A résolu


Will there be a new leader?
Simply answer the title.

presque 10 ans il y a

A résolu


Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

presque 10 ans il y a

Charger plus