已解决


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

6 years 前

已解决


Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

6 years 前

已解决


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

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

6 years 前

已解决


Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...

6 years 前

已解决


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

6 years 前

已解决


Guess Cipher
Guess the formula to transform strings as follows: 'Hello World!' --> 'Ifmmp Xpsme!' 'Can I help you?' --> 'Dbo J ifmq zpv...

6 years 前

已解决


Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F(n) = F(n-1) + F(n-2) * where F(1) = 1 and F(1)...

6 years 前

已解决


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

6 years 前

已提交


Calculator
This is very simple and basic arithmetic operation.

7 years 前 | 1 次下载 |

0.0 / 5
Thumbnail

提问


how to do repeating numbers in array
Hi I have an array like [1 0 0 0 2 0 0 0 3 0 0 0 0 0 5 0 0 0 0]. I want output like, [1 1 1 1 2 2 2 2 3 3 3 3 3 3 5 5 5 5...

7 years 前 | 2 个回答 | 0

2

个回答

已解决


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

7 years 前

已解决


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

7 years 前

已解决


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

7 years 前

已解决


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

7 years 前

已提交


Fibbonic Series
Fibonacci number

7 years 前 | 2 次下载 |

0.0 / 5

已解决


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

7 years 前

已解决


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

7 years 前

已解决


Add two numbers
Given a and b, return the sum a+b in c.

7 years 前

已解决


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

7 years 前

已解决


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

7 years 前

已解决


How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

8 years 前

已提交


Folder_name_writing
This Script is used to get all folders in Current Directory.

8 years 前 | 1 次下载 |

0.0 / 5
Thumbnail

已提交


Find atomic subsyem
This script is help to find and count the atomic and non atomic subsystem in Model (.mdl) file.

8 years 前 | 3 次下载 |

0.0 / 5

提问


View code generation readiness issues , c code generation from Matlab function
Hi guys, I got some issues while generate the 'C' Code from Matlab Function.Issue like this "Unsupported MATLAB Function calls" ...

8 years 前 | 1 个回答 | 0

1

个回答

提问


I have few doubt about MIL & SIL Test
Hi, I developed one model, and I have tested model using Signal Builder. Generally in this method, we will pass some inputs(test...

8 years 前 | 0 个回答 | 0

0

个回答

已提交


removal of hazy image
hazy image removal

10 years 前 | 1 次下载 |

5.0 / 5
Thumbnail