Feeds
已解决
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 ...
11 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...
11 years 前
已解决
Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...
13 years 前
已解决
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, ....
13 years 前
已解决
Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...
13 years 前
已解决
Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...
13 years 前
已解决
Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...
13 years 前
已解决
The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...
13 years 前
已解决
Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...
13 years 前
已解决
Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...
13 years 前
已解决
Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...
13 years 前
已解决
Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...
13 years 前
已解决
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
13 years 前
已解决
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 ...
13 years 前
已解决
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
13 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:...
13 years 前
已回答
How can I remove all the paths for Toolboxes in MATLAB?
There is no supported way of undoing the path setting in MATLAB. The safest way to avoid name collisions is to rename all user f...
How can I remove all the paths for Toolboxes in MATLAB?
There is no supported way of undoing the path setting in MATLAB. The safest way to avoid name collisions is to rename all user f...
14 years 前 | 2
| 已接受
已回答
Second order homogeneous differential equation
You can use the DSOLVE command in the Symbolic Math Toolbox: >> dsolve('D2y - Dy - 6*y = 0') ans = C4*exp(3*t) +...
Second order homogeneous differential equation
You can use the DSOLVE command in the Symbolic Math Toolbox: >> dsolve('D2y - Dy - 6*y = 0') ans = C4*exp(3*t) +...
14 years 前 | 1
已回答
How do I dynamically generate a file name for save in MATLAB
You can use the function form of the SAVE command: i = 10; fname = sprintf('myfile%d.mat', i); save(fname) For m...
How do I dynamically generate a file name for save in MATLAB
You can use the function form of the SAVE command: i = 10; fname = sprintf('myfile%d.mat', i); save(fname) For m...
14 years 前 | 12
已回答
Why do I get false results when using equal relational operation for the logical operation?
If you look carefully at the definition of fundamental arithmetic operations like addition and multiplication, you soon encounte...
Why do I get false results when using equal relational operation for the logical operation?
If you look carefully at the definition of fundamental arithmetic operations like addition and multiplication, you soon encounte...
14 years 前 | 0
已回答
How does logical indexing work?
Assume A is a MxN matrix. Let "tf" be a MxN logical matrix. Then A(tf) extracts all elements of A corresponding to all tru...
How does logical indexing work?
Assume A is a MxN matrix. Let "tf" be a MxN logical matrix. Then A(tf) extracts all elements of A corresponding to all tru...
14 years 前 | 1
已回答
Why is 6*i not a complex number in my program?
Looks like you might have a variable defined named "i" which is a real. If this is the case, then the "definition" of "i" as ima...
Why is 6*i not a complex number in my program?
Looks like you might have a variable defined named "i" which is a real. If this is the case, then the "definition" of "i" as ima...
14 years 前 | 0
已回答
Does absolute intensity in an image matter when computing the normalized cross correlation with NORMXCORR2?
The normalized cross correlation computed in normxcorr2 is robust to differences in illumination between the template and input ...
Does absolute intensity in an image matter when computing the normalized cross correlation with NORMXCORR2?
The normalized cross correlation computed in normxcorr2 is robust to differences in illumination between the template and input ...
14 years 前 | 1
| 已接受
已回答
How is the winning neuron selected by the NEWSOM function within Neural Network Toolbox?
The NEWSOM function is used to obtain a self-organizing network. The syntax for this function is as follows: net = newsom(P...
How is the winning neuron selected by the NEWSOM function within Neural Network Toolbox?
The NEWSOM function is used to obtain a self-organizing network. The syntax for this function is as follows: net = newsom(P...
14 years 前 | 1
| 已接受
提问
Is there a function which calculates a POLYFIT and MEAN of vectors in MATLAB 7.11 (R2010b)?
I am working with MATLAB 7.11 (R2010b). In my project I need to linear fit multiple vectors and calculate the mean of them. I wo...
14 years 前 | 1 个回答 | 0
1
个回答提问
How is the winning neuron selected by the NEWSOM function within Neural Network Toolbox?
I would like to know how the winning neuron is selected by the NEWSOM function within Neural Network Toolbox.
14 years 前 | 1 个回答 | 0