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...
거의 7년 전 | 답변 수: 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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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...
거의 8년 전 | 답변 수: 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년 초과 전 | 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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 ...
거의 9년 전 | 답변 수: 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 ...
거의 9년 전 | 답변 수: 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 ...
거의 9년 전 | 답변 수: 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 ...
거의 9년 전 | 답변 수: 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...
거의 9년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 0