Feeds
提问
'Undefined Function or Variable' Error when the variable is perfectly defined!!!!!
Dear MATLAB users, My code is rather simple and everything is properly defined. Yet I keep receiving error. Can anybody pleas...
6 years 前 | 1 个回答 | 0
1
个回答提问
finding all sets that satisfy an under-determined equation?
Dear MATLAB Experts, The solution to a problem is a 4 dimensional surface as A*f(x) + B*f(y) + C*f(z) + D*f(t) = 0 ...
7 years 前 | 1 个回答 | 0
1
个回答提问
how to automatically sprintf an array elements
Dear All, I have many arrays with various number of columns, that is, I have many 1*m matrices with m varies from 1 to 20. ...
7 years 前 | 3 个回答 | 1
3
个回答提问
How to glean the files I want from so many data files?
Dear MATLAB Experts, I have had this problem for a couple of days and I could not think of a way to resolve this. I do appre...
7 years 前 | 1 个回答 | 0
1
个回答已回答
Reduction of a matrix
This is what I came up with but I am looking for a more sophisticated approach. b=0 for i=1:(size(M,1)-1) if M(i+1,1)-M...
Reduction of a matrix
This is what I came up with but I am looking for a more sophisticated approach. b=0 for i=1:(size(M,1)-1) if M(i+1,1)-M...
8 years 前 | 0
| 已接受
提问
Reduction of a matrix
Dear MATLAB Experts, I have encountered a problem in my research seems to be very tricky to me. Assume there is a matrix of s...
8 years 前 | 1 个回答 | 0
1
个回答提问
Semi-transpose a matrix
Dear Matlab Experts, I want to block-transpose a matrix i.e. a set of elements are forming a block of elements. My goal is to...
8 years 前 | 2 个回答 | 0
2
个回答已回答
How to get the unique and NON-ZERO rows of a matrix?
I guess I find it out!! unique(a(all(a,2),:),'rows')
How to get the unique and NON-ZERO rows of a matrix?
I guess I find it out!! unique(a(all(a,2),:),'rows')
8 years 前 | 0
| 已接受
提问
How to get the unique and NON-ZERO rows of a matrix?
Dear Experts, I do not know how to get the unique and non-zero rows of a matrix, can you help me to figure it out please? ...
8 years 前 | 2 个回答 | 0
2
个回答提问
combine files with the same names that are located in different directories
Dear Matlab Experts, I have several subdirectories in my parent folder ( named in the numeric order 1, 2, 3 etc) each of whic...
8 years 前 | 2 个回答 | 0
2
个回答提问
how to find the elements in a matrix that follow a certain pattern
Dear All, I have been working on writing a code to get what I want and have not been luck yet. I hope you can help me to do s...
8 years 前 | 3 个回答 | 0
3
个回答提问
How to rearrange a matrix in a preferred order
Dear All, I have a matrix of 40 *3 that is originally is in the numeric order with respect to the first column i.e. [1 1...
8 years 前 | 1 个回答 | 0
1
个回答提问
Write gigantic output files in parloop
Dear All, I am running a program using parallel toolbox. Each identifier in the parfor loop creates a matrix of 2,000,000 * 1...
8 years 前 | 0 个回答 | 0
0
个回答提问
How to determine the line-number in a file that contains specific statements
Dear All, I do have a file that has a line starting with the following statement: I Need This Line What I need is ...
8 years 前 | 2 个回答 | 0
2
个回答提问
read and use the ith matrix for the ith determiner
Hello All, I want to use parfor loop to speed up my calculations. However I am stuck at a point. for each determiner, a cert...
8 years 前 | 1 个回答 | 0
1
个回答提问
Error: The variable VAC in a parfor cannot be classified
Dear All, I read some of the solutions to the error mentioned in the subject of this question but they all seemed vague to me...
8 years 前 | 2 个回答 | 0
2
个回答提问
How to address files that are starting with certain word
Dear All, In my main directory I do have 5 subdirectories(named 1,2,3,4 and 5) in all of which there is only one file whose n...
8 years 前 | 1 个回答 | 0
1
个回答提问
UNDEFINED VARIABLE OR FUNCTION
Hello-- I am using the parallel toolbox which cause me to see this error message: An UndefinedFunction error was thro...
8 years 前 | 1 个回答 | 0
1
个回答提问
import an excel file containing both numbers and strings into a matrix
Hello All-- I do have an excel file whose first column contains numbers and the second column has letters. Something similar ...
8 years 前 | 1 个回答 | 1
1
个回答提问
dlmwrite a matrix into an existing csv file
Dear All, I do have a a csv file which is basically a 5*6 matrix like the following one: test.cvs = [1 2 3 4 5 6 ...
8 years 前 | 1 个回答 | 0
1
个回答提问
Matrix reduction to see how many various elements the matrix has
Dear All, I have a 1*12 row whose elements are integers. Some of the elements might be repeated. I need to reduce the matrix ...
8 years 前 | 1 个回答 | 0
1
个回答提问
Sort a matrix in a specific format
Hello All, I have an interesting question which could be very helpful for my research. I have matrix which is 2*5 and I want ...
8 years 前 | 2 个回答 | 0
2
个回答提问
Matrix Indexing in the double for loops
Dear All, I am struggling with setting the index for the matrix I defined in my code. I cannot figure how to write the approp...
8 years 前 | 1 个回答 | 0
1
个回答提问
How to fit a desired function form to a set of data in MATLAB?
Dear All, I just installed the curve fitting toolbox and have been trying to get familiar with how it works. Although my ques...
9 years 前 | 0 个回答 | 0
0
个回答提问
How does MATLAB Parallel computing toolbox work?
Dear All, We have recently installed MATLAB and its parallel toolbox in our clusters for linux. We have transferred all of ou...
9 years 前 | 1 个回答 | 0
1
个回答提问
PROBLEM IN WRITING A text in MATLAB
Dear All, Well I have a text that I have to fprintf it into a text file using my matlab code. But I cannot figure what the ou...
9 years 前 | 1 个回答 | 0
1
个回答提问
Load the numeric data of a cyclic text file into a matrix
Dear All, I guess I have to rephrase my question since it has not receive much attention. I have a text file in the follow...
9 years 前 | 1 个回答 | 0
1
个回答提问
How to load a file into the matrix form in linux platform?
Hello All, I have recently switched to the linux platform and I have some questions. First, I suppose I do not need anythi...
9 years 前 | 0 个回答 | 0
0
个回答提问
How to insert a number in a txt template
Dear All, I have a (50*1) matrix whose elements are random integers. Also, I have a text file template. I need to write a co...
9 years 前 | 1 个回答 | 0
1
个回答已回答
how to write change directories and run the m file in related directory from the the top level folder?
for f=1:10; somefolder=sprintf('%s%d%s','C:/Users/Desktop/New folder/00', f, '/'); cd (somefolder); run H2Evoluti...
how to write change directories and run the m file in related directory from the the top level folder?
for f=1:10; somefolder=sprintf('%s%d%s','C:/Users/Desktop/New folder/00', f, '/'); cd (somefolder); run H2Evoluti...
9 years 前 | 0