photo

Anish

MathWorks

Active since 2011

Followers: 0   Following: 0

Message

Statistics

All
  • First Review
  • Knowledgeable Level 1
  • First Answer
  • Solver

View badges

Feeds

View by

Solved


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

mer än 10 år ago

Solved


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

mer än 10 år ago

Solved


radius of a spherical planet
you just measured its surface area, that is the input.

mer än 12 år ago

Solved


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

mer än 12 år ago

Solved


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

mer än 12 år ago

Solved


Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

mer än 12 år ago

Solved


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

mer än 12 år ago

Solved


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

mer än 12 år ago

Solved


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

mer än 12 år ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

mer än 12 år ago

Solved


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

mer än 12 år ago

Solved


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

mer än 12 år ago

Solved


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

mer än 12 år ago

Solved


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

mer än 12 år ago

Solved


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

mer än 12 år ago

Solved


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

mer än 12 år ago

Solved


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

mer än 12 år ago

Solved


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

mer än 12 år ago

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

mer än 13 år ago | 2

| accepted

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

mer än 13 år ago | 1

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

mer än 13 år ago | 12

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

mer än 13 år ago | 0

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

mer än 13 år ago | 1

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

mer än 13 år ago | 0

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

mer än 13 år ago | 1

| accepted

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

mer än 13 år ago | 1

| accepted

Question


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

mer än 13 år ago | 1 answer | 0

1

answer

Question


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.

mer än 13 år ago | 1 answer | 0

1

answer