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

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

11 years ago

Solved


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

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

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

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

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

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

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

13 years ago

Solved


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

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

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

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

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

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

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

13 years ago

Solved


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

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

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

14 years 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) +...

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

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

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

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

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

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

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

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

14 years ago | 1 answer | 0

1

answer