已解决


Matlab Basics - Sum a vector
Write a script to add up all the elements in a vector e.g. x = [1 2 3 4] --> output = 10

9 years 前

已解决


Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

9 years 前

已解决


Reverse a matrix
Its simple. You have to reverse a given matrix.

9 years 前

已解决


Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

9 years 前

已解决


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

9 years 前

已解决


MATCH THE STRINGS (2 CHAR) very easy
Match the given string based on first two characters on each string. For example A='harsa'; b='harish'; result '1' ...

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已解决


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

9 years 前

已解决


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

9 years 前

已解决


Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

9 years 前

已解决


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

9 years 前

已解决


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

9 years 前

已解决


Negative matrix
Change the sign of all elements in given matrix.

9 years 前

已解决


What number has this problem?
This problem is added because it is problem number *???* in the "Community" problems section. <http://www.mathworks.de/matlab...

9 years 前

已解决


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

9 years 前

已解决


Determine the square root
Determine the square root of the value the user has entered, n.

9 years 前

已解决


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已解决


Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.

9 years 前

已解决


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

9 years 前

已解决


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

9 years 前

已解决


Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...

9 years 前

已解决


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

9 years 前

已解决


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

9 years 前

已解决


sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...

9 years 前

已解决


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

9 years 前

已解决


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

9 years 前

已解决


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

9 years 前

加载更多