Community Profile

# Aakash Deep

48 total contributions since 2018

I am a B.Tech 4th year CSE student.

#### Aakash Deep's Badges

View details...

Contributions in
View by

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

mehr als ein Jahr ago | 0

| accepted

Solved

Second Diagonal
Transpose the matrix from it's second diagonal.

mehr als ein Jahr ago

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

mehr als ein Jahr 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 ...

mehr als ein Jahr 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 ...

mehr als ein Jahr ago | 0

Problem

Second Diagonal
Transpose the matrix from it's second diagonal.

mehr als ein Jahr ago | 0

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

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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 ...

mehr als ein Jahr ago | 0

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

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr ago | 2

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

mehr als ein Jahr ago | 0

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

mehr als ein Jahr 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....

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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 ...

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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 + ...

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr ago