Feeds
질문
unique values in cell array
I have a cell array with both numerical values and strings test1 = {1,2,3,'No';1,3,2,'Yes';2,2,2,'Yes'} I need to find the...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
Plotting a Stacked Bar graph using different X values
So I have two different data sets, say x1 = [1 2 3] x2 = [2 3 4] y1 = [5,6,7] y2 = [10,12,21] I want to plot the ...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
Issue with xlsread interactive selection
I have a Mac. I am trying to read in an excel file using readxls('filename',-1) which should allow me to interactively chose the...
11년 초과 전 | 답변 수: 1 | 0
1
답변질문
Pass a Structure and Structure Elements to a Function
I need to pass on a Structure as well as the elements of that structure to a function, but I keep on getting an error. Anyone ou...
거의 12년 전 | 답변 수: 2 | 0
2
답변질문
Looping through Structure Elements
I have this code, where I am trying to loop through structure elements. month2=struct('January',1,'February',2,'March',3,'A...
거의 12년 전 | 답변 수: 1 | 0
1
답변질문
Excel Date Format to Matlab Number Array
I have excel data, of which one column is in excel date format of the type '02/12/2013'. When I use xlsread, matlab gives me a n...
거의 12년 전 | 답변 수: 1 | 0
1
답변질문
Anyone know how to input a string into a for loop?
I am trying to loop a vector of strings into a given function, but everytime it goes through the for loop, it is viewed as a who...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
Matlab Report Generator Symbols
anyone out there know how to insert symbols and subscripts into the report generator. Im trying to say NO2 with a subscripted 2 ...
12년 초과 전 | 답변 수: 0 | 3
0
답변질문
Simulink For Iterator
Im trying to use the for iterator in simulink an dI have found that I don't know what the heck I'm doing. Can someone in magic l...
12년 초과 전 | 답변 수: 0 | 0
0
답변질문
using for iterator in simulink
Im trying to use the for iterator in simulink an dI have found that I don't know what the heck I'm doing. Can someone in magic l...
거의 13년 전 | 답변 수: 0 | 0
0
답변질문
extracting variables from syms
lets say that I have the equation 2*x^2 + 3*y^2. I need to do 2 things. I need to extract the 2*x^2, and then I need to extract ...
대략 13년 전 | 답변 수: 1 | 0
1
답변질문
derivative in syms
If I am using syms, and i have the following a = b * u then da/dt = b * du/dt. How do I get matlab to do this rather t...
대략 13년 전 | 답변 수: 2 | 0
2
답변질문
changing variables in syms
If I am working in syms and I say c= I * (a * I + b * J) How do I tell matlab that I want I * J = 0 so that it outputs ...
대략 13년 전 | 답변 수: 1 | 0
1
답변질문
Having Matlab run different files sequentially.
Ok, so I have a folder full of excel files, each file with a different name. I also wrote a program to analyze the data. I thoug...
13년 초과 전 | 답변 수: 1 | 0
1
답변질문
reformulating the axis grid for a plot
Ok, so I have data for a temperature field in a 3d array such that temp(i,j,k) defines the temperature at the coordinates in the...
13년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to configure stream3 arrays
I have a set of data and I am trying to understand how the function stream3 needs the data in order to produce an acurate plot. ...
13년 초과 전 | 답변 수: 0 | 0
0
답변질문
plotting a vector field
I am trying to plot a vector field using quiver, but rather that supply the arrays as a whole into the function, I would like to...
13년 초과 전 | 답변 수: 1 | 0
1
답변질문
evaluating matrix in if statement
How can i get an if statement to evaluate a truth condition based on a matrix, such that tol = [.0001;.0001;.0001;.0001;.0001...
거의 14년 전 | 답변 수: 2 | 0
2
답변질문
Cutting rows and columns from a matrix
If A = [0,0,0,0;0,0,0,0;0,0,1,1;0,0,1,1], how can i cut out the null comumns and rows to acheive B = [1,1;1,1]
거의 14년 전 | 답변 수: 2 | 0
2
답변질문
adding matrices inside cell array
how does one add all of the matrices stores in a cell array?
거의 14년 전 | 답변 수: 2 | 0
2
답변질문
storing a matrix using new variables established by 'eval'
I am trying to get a for loop introduce a new variable for every loop using the 'eval' function and store a matrix in the new va...
거의 14년 전 | 답변 수: 2 | 0
2
답변질문
How can I store my results from each iteration of a FOR loop?
How can you specify the introduction of a new variable for every iteration of a for loop. For instance, is phi = [a,b,c,d] ...
거의 14년 전 | 답변 수: 2 | 1
2
답변질문
Insert a matrix within a matrix
Im trying to insert a matrix within a matrix, such that, if x=[a,d;c,d], then y=[a,b,0,0;c,d,0,0;0,0,a,b;0,0,c,d]. Basically,...
거의 14년 전 | 답변 수: 3 | 1