![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/7486572_1522121729019_DEF.jpg)
kowshik Thopalli
Followers: 0 Following: 0
Feeds
提问
Reshaping/vectorizing a n-d matrix to a vector along each dimension
Lets say I have a matrix given by a=randn(4,4,5); How do I get a 80*1 vector along each dimension. That is ...
6 years 前 | 1 个回答 | 0
1
个回答已解决
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:...
6 years 前
已回答
How to utilize nodes to plot a 3D object?
Ok. I have attached the script to do this. You are reading the data wrong. I have also attached the image. Hope this helps. ...
How to utilize nodes to plot a 3D object?
Ok. I have attached the script to do this. You are reading the data wrong. I have also attached the image. Hope this helps. ...
6 years 前 | 0
已回答
Develop a Matlab function that remove all zeros in an input vector(using while loop)
I agree with cvklpstunc that you dont need a while loop. If you are still looking for a while loop implementation, here is the c...
Develop a Matlab function that remove all zeros in an input vector(using while loop)
I agree with cvklpstunc that you dont need a while loop. If you are still looking for a while loop implementation, here is the c...
6 years 前 | 0
已回答
Distance from time and velocity vectors..HELP
trapz cannot be used here because you are passing only one value for x and y. Moreover direct integration is not t...
Distance from time and velocity vectors..HELP
trapz cannot be used here because you are passing only one value for x and y. Moreover direct integration is not t...
6 years 前 | 0
提问
Optic FLow only on interest points
I was wondering if there is any method to compute optical flow between two frames only considering key or interest points(which ...
7 years 前 | 1 个回答 | 0
1
个回答提问
Hand segmentation from an RGB and depth image obtained from kinect device
Hi all. I am trying to use the <http://eeeweba.ntu.edu.sg/computervision/people/home/renzhou/HandGesture.htm dataset> from this ...
7 years 前 | 1 个回答 | 1
1
个回答已回答
How to save iteration values as array if for loop- for t=0:0.5:3?
Use another index value outside the loop and keep updating it inside the loop such as index=1 for t=0:0.5:3 ...
How to save iteration values as array if for loop- for t=0:0.5:3?
Use another index value outside the loop and keep updating it inside the loop such as index=1 for t=0:0.5:3 ...
7 years 前 | 1
| 已接受
已回答
How to change the positions of elements in a vector?
Using the find() function you can do this very easily. [R,c]= find(myVector==3) This gives you the positions of ...
How to change the positions of elements in a vector?
Using the find() function you can do this very easily. [R,c]= find(myVector==3) This gives you the positions of ...
7 years 前 | 0
已回答
How do I delete columns from a matrix based on an array
As you can imagine there is more than one way to do this. here is one method.Not elegant but works A=[4 3 5 6 7; 1 4 ...
How do I delete columns from a matrix based on an array
As you can imagine there is more than one way to do this. here is one method.Not elegant but works A=[4 3 5 6 7; 1 4 ...
7 years 前 | 1
已回答
Empty Matrix: 1-by-0 error
help linspace() y = linspace(x1,x2,n) generates n points. The spacing between the points is (x2-x1)/(n-1). so here...
Empty Matrix: 1-by-0 error
help linspace() y = linspace(x1,x2,n) generates n points. The spacing between the points is (x2-x1)/(n-1). so here...
7 years 前 | 0
已回答
I am new in MATLAB. Please suggest me the procedure for how to pass the dataset files to the TreeBagger classifier.
Below is the Matlab documentation. Go through this. It is well written. https://www.mathworks.com/help/stats/treebagger.html ...
I am new in MATLAB. Please suggest me the procedure for how to pass the dataset files to the TreeBagger classifier.
Below is the Matlab documentation. Go through this. It is well written. https://www.mathworks.com/help/stats/treebagger.html ...
7 years 前 | 0
已回答
How to find an unknown parameter from a equation fitted to a data-set in MATLAB 2016b ?
I might be wrong here. If you know all of these values and dont know only n cant you just find n through algebra. I mean solvi...
How to find an unknown parameter from a equation fitted to a data-set in MATLAB 2016b ?
I might be wrong here. If you know all of these values and dont know only n cant you just find n through algebra. I mean solvi...
7 years 前 | 0
已回答
Compare results of three cells
Assuming you wish to find the maximum of the corresponding elements in each cell cell1={rand(1,120)}; cell2={rand(1...
Compare results of three cells
Assuming you wish to find the maximum of the corresponding elements in each cell cell1={rand(1,120)}; cell2={rand(1...
7 years 前 | 0
已回答
Help with a minimize problem
I dont understand. two_var =@(x) 242*log(1-x(1)-x(2))+120*log(2*x(1)-x(1)^2-2*x(1)*x(2))+79*log(2*x(2)-x(2)^2-2*x(1)*x...
Help with a minimize problem
I dont understand. two_var =@(x) 242*log(1-x(1)-x(2))+120*log(2*x(1)-x(1)^2-2*x(1)*x(2))+79*log(2*x(2)-x(2)^2-2*x(1)*x...
7 years 前 | 0
已回答
How to find the number of repeating sequence in an array?
You can do the following. Treat the sequence as a string. Divide the string into a cell with each cell containing 3 digits. Then...
How to find the number of repeating sequence in an array?
You can do the following. Treat the sequence as a string. Divide the string into a cell with each cell containing 3 digits. Then...
7 years 前 | 0
| 已接受
提问
How to join or merge two Image Data Stores?
If I have two image datastores and I wish to concatenate them. How can I do that? Thanks
7 years 前 | 6 个回答 | 3
6
个回答提问
Split an ImageDatastore with every 'pth' file per label
Hi, the splitEachLabel() for the imageDatastore() when used as if true [imds1,imds2] = splitEachLabel(imds,p) end ...
7 years 前 | 1 个回答 | 0
1
个回答已回答
Loading data in a function and passing it
In the else condition- write b=load('b.mat'), w=load('w.mat') etc. Does this solve your problem?
Loading data in a function and passing it
In the else condition- write b=load('b.mat'), w=load('w.mat') etc. Does this solve your problem?
7 years 前 | 1
提问
How to nest a cell array with existing cell array
Hi, I have a cell array Cells which is 1 x 190, and each cell is again a 1 x 20 cell array. Now for each cell in this 1 x 20 arr...
7 years 前 | 1 个回答 | 1
1
个回答已解决
vectorization in N
For a given integer n (n>1), compute the sum f (i) (1 <= i <= n) where f (i) = 1 if n is odd and 2 otherwise.
7 years 前
已解决
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
7 years 前
已解决
Find a subset that divides the vector into equal halves
Given a vector x, return the indices to elements that will sum to exactly half of the sum of all elements. Example: Inpu...
7 years 前
已解决
Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...
7 years 前
已解决
Given a window, how many subsets of a vector sum positive
Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...
7 years 前
已解决
Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.
7 years 前
已解决
Reverse the Words (not letters) of a String
*Description* Change the words of a string such that the words appear in reverse order. You may assume that the string is a n...
7 years 前