Risposto
Insert figure title in multiple plots from a cell array
I personally prefer subplots, so I implemented that, but you can just as easily use figure(n) instead. If you use subplots, you ...

oltre 9 anni fa | 0

Risposto
Matlab Code for rank.mean
If you mean that the function should find the position of a value in a sorted vector, the code below should do that. x = [4 ...

oltre 9 anni fa | 0

Risposto
How can i determine a point of intersection in a curve ?
<https://nl.mathworks.com/matlabcentral/fileexchange/11837-fast-and-robust-curve-intersections This FEX submission> will do what...

oltre 9 anni fa | 0

Risposto
How to enquire previous purchase information
You can always contact the <https://nl.mathworks.com/support/contact_us/index.html support> for questions about licensing.

oltre 9 anni fa | 0

Risposto
How to define vector 'x' symbollically?
A = sym('a', [1 20]) A = [ a1, a2, a3, a4, a5, a6, a7, a8, a9, a10,... a11, a12, a13, a14, a15, a16, a17, a18, a19, ...

oltre 9 anni fa | 0

Risposto
how to match daily returns ?
So you have two datasets that are sampled over time that you need to resample over a common/matched timeframe? Am I understandin...

oltre 9 anni fa | 0

Risposto
How can i change rgb picture to red or green or blue
You can't use mean directly, because it changes your data type to double. I am assuming you mean that you want to convert your i...

oltre 9 anni fa | 0

| accettato

Risposto
How to load a folder containing 24 .mat files (one column) with varying lengths and plot each file using a for loop
You can generate a list of files and folders with the 'dir' command, but if you know what files exist, you can dynamically load ...

oltre 9 anni fa | 0

Risposto
imshow(image) and imshow(image,[])
If you type "help imshow" or "doc imshow", you can read what Al Bashir said in his comment. In my copy of Matlab the first lines...

oltre 9 anni fa | 1

| accettato

Risposto
End a Calculation if a condition is satisfied.
The command you are looking for is 'while' instead of 'for'. So replace the "for j=1:7839" in your code with "while abs(rk4-K...

oltre 9 anni fa | 0

Risposto
Determine set of data between multiple ranges from a matrix
There may be better solutions, but this code should do what you want. You can add in the equal signs if you need inclusive range...

oltre 9 anni fa | 0

Risolto


Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

oltre 9 anni fa

Risolto


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

Risolto


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

Risolto


Find number of days
The input is two date in string format (dd-mm-yyyy) find out the number of days between these two dates. Example: input: ...

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

Risolto


Calculate the derivative of a polynomial
Example: in = [ 1 1 1 ] out = [ 2 1 ]

oltre 9 anni fa

Risolto


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

oltre 9 anni fa

Risolto


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

Inviato


getfignum(n_requested)
Find a figure number that is unused

oltre 9 anni fa | 1 download |

0.0 / 5