![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/10465593_1523515423604_DEF.jpg)
Aakash Deep
Followers: 0 Following: 0
I am a B.Tech 4th year CSE student.
Statistics
RANK
2,631
of 293,557
REPUTATION
22
CONTRIBUTIONS
1 Question
16 Answers
ANSWER ACCEPTANCE
0.0%
VOTES RECEIVED
6
RANK
of 20,043
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Lists in matlab to store iterative data.
Hello Nilesh, From your question I understand that you are trying to add a new value into your pre-defined vector. So for th...
6 years ago | 0
| accepted
Readtable error: Index exceeds array bounds.
Hello, You can try dlmread command to read a .csv file If you think path is creating problem somewhere, you can k...
6 years ago | 0
picking maximum difference across entries of row vectors, Part 2
Hello, In order to find out the maximum difference between two elements in a row vector, you can first sort it and then take ...
6 years ago | 0
Convert unfolded tensor back to higher dimensional tensor?
Hey Rohit, Let's first see how we can unfold a tensor to matrix then you might get some insight how to unfold it back. Let's ...
6 years ago | 0
Problem
Second Diagonal
Transpose the matrix from it's second diagonal.
6 years ago | 0 | 49 solvers
MATLAB crashes if imshow is used.
If you have a valid license then you can contact support from the below link <https://mathworksservicerequest.secure.force.co...
6 years ago | 0
convert matrix to tensor
I think this will help you. You can refer this <https://www.mathworks.com/matlabcentral/answers/27338-convert-matrix-into-the-t...
6 years ago | 0
how to make a tree
Here are some of the references which you can look at, <https://www.mathworks.com/matlabcentral/answers/35698-c4-5> <https...
6 years ago | 0
3D plot of a matrix
Hello Anshuman, You can just use the surf command for this. It will take care of your axis and color contrast itself. A...
6 years ago | 0
could anyone tell me how to save the values while the code is getting executed
Use save command to save the current value of the variable. save filename variable1 This will create .mat file (for this...
6 years ago | 0
Save workspace output to a file
Hello Alpedhuez, You can use the save command to save multiple workspace variables in a single file. You can do this ...
6 years ago | 1
Extract features from an EEG (single channel) signal
Hello Chiara, If you want to extract the alpha and theta rhythm of the signal, you can find the wigner-ville transform of the...
6 years ago | 0
Matlab taking too much time to give output
Hey Pushkar, Solving a convex optimization problem is a big task. Yes, it can take a long time to converge. You can not minim...
6 years ago | 0
how to make if statement repeat only once ?
Hey, From your question, I understand that you have a if condition inside a loop which you need to execute only once for a p...
6 years ago | 4
change a script to function
Hey, In order to create a function in MATLAB, add a couple of lines to your code function [out_1, out_2, ....., out_n]...
6 years ago | 1
| accepted
how to plot surface for this problem.
I am assuming that your matrix *X* has a dimension nx3 where n can be your iterations. After executing your function command *F=...
6 years ago | 0
Converting a 1x1 Vector into a Scalar Number
I agree with Stephen Cobeldick comments that there is no data class as scalar/vector/matrix, it all depends on their dimensions....
6 years ago | 0
Solved
Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...
6 years ago
Solved
Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...
6 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...
6 years ago
Solved
Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...
6 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 ...
6 years ago
Solved
Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...
6 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...
6 years ago
Solved
Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...
6 years ago
Solved
Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...
6 years ago
Solved
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...
6 years ago
Solved
Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...
6 years ago
Solved
Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...
6 years ago