문제를 풀었습니다


Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

거의 11년 전

문제를 풀었습니다


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

거의 11년 전

문제를 풀었습니다


Max of a Vector
Write a function to return the max of a vector

거의 11년 전

문제를 풀었습니다


Is My Wife Wrong?
Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...

거의 11년 전

문제를 풀었습니다


Change the first and last diagonal element of the identity matrix to zero
Starting with the identity matrix, change first and last diagonal element to zero. Example If n=5 A = 0 0 ...

거의 11년 전

문제를 풀었습니다


Find out total non zero element of matrix
Find out Non zero element of matrix A=magic(5) 17 24 1 8 15 23 5 7 14 16 4 6...

거의 11년 전

문제를 풀었습니다


Generate vector according to sign of vector
Generate vector according to sign of vector Example: If A=[-2 0 5] then output must be[-1 0 1] meaning that for negative n...

거의 11년 전

문제를 풀었습니다


Add two different item as shown in example
Add two different item as shown in example x=5; y='ab'; Then output must be'5ab';

거의 11년 전

문제를 풀었습니다


Building matrices
If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...

거의 11년 전

문제를 풀었습니다


ASCii Code
Using Matlab get the ASCii for '?'

거의 11년 전

문제를 풀었습니다


ASCii Code
Using matlab, give the symbol that is associated with ASCii code 122

거의 11년 전

문제를 풀었습니다


Replacing a row
For matrix G=[1 2 3; 4 5 6; 7 8 9] Replace the 2nd row with 8s **remember to create matrix G

거의 11년 전

문제를 풀었습니다


vector to string
Determine what the ASCII characters spell out. Example: input = [ 72 73 71 72] output = 'HIGH'

거의 11년 전

문제를 풀었습니다


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

거의 11년 전

문제를 풀었습니다


Area of a circle
Find the value for area of the circle if diameter is given

거의 11년 전

문제를 풀었습니다


Find the area of a rectangle if length of the diagonal is given.
if length of a diagnonal in rectangle is 5. Its area is 12.

거의 11년 전

문제를 풀었습니다


length of a vector
Find twice the length of a given vector.

거의 11년 전

문제를 풀었습니다


Evaluating a polynomial
Given the following polynomial and the value for x, determine y. y = 3x^5 – x^3 + 8x – 3 Example x = 1 y = 3 - 1 +...

거의 11년 전

문제를 풀었습니다


Complex number
For complex number c=a+bi, write code that will add a and b together.

거의 11년 전

문제를 풀었습니다


Create Vector containing following elements
Create Vector containing following elements A=[pi eps NaN inf -inf flintmax];

거의 11년 전

문제를 풀었습니다


Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...

거의 11년 전

문제를 풀었습니다


What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

거의 11년 전

문제를 풀었습니다


Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...

거의 11년 전

문제를 풀었습니다


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

거의 11년 전

문제를 풀었습니다


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

거의 11년 전

문제를 풀었습니다


Counting down
Create a vector that counts from 450 to 200 in increments of 10.

거의 11년 전

문제를 풀었습니다


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

거의 11년 전

문제를 풀었습니다


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

거의 11년 전

문제를 풀었습니다


Box!
Given a box, find the volume of the cube. With each side = a.

거의 11년 전

문제를 풀었습니다


Construct an array
* Construct an row array named observedValues with elements sensorReading1, sensorReading2, and sensorReading3.

거의 11년 전

더 보기