Feeds
已回答
I have 2 columns and 10 rows of numerical data in my excel file. How to import this data in to MATLAB and then plot it?
If you prefer to use an *interactive* approach you can double click on the Excel file from the Current Folder browser and intera...
I have 2 columns and 10 rows of numerical data in my excel file. How to import this data in to MATLAB and then plot it?
If you prefer to use an *interactive* approach you can double click on the Excel file from the Current Folder browser and intera...
9 years 前 | 1
已回答
how can i compute the length of an integer?
Casting the variable into a string may be risky because you may get to "unexpected" cases such as: int = 1234567890123456...
how can i compute the length of an integer?
Casting the variable into a string may be risky because you may get to "unexpected" cases such as: int = 1234567890123456...
12 years 前 | 0
已回答
Importing multiple .txt files containting single colums of numerical data
Hi Ross, it depends on the type of analyses you need to do. If you are not expert working directly with cell array using comm...
Importing multiple .txt files containting single colums of numerical data
Hi Ross, it depends on the type of analyses you need to do. If you are not expert working directly with cell array using comm...
12 years 前 | 1
| 已接受
已回答
CAD model robot matlab
Hi Javier, what about this: <http://www.mathworks.com/matlabcentral/fileexchange/7118-readdxf-read-in-an-ascii-dxf-file> ...
CAD model robot matlab
Hi Javier, what about this: <http://www.mathworks.com/matlabcentral/fileexchange/7118-readdxf-read-in-an-ascii-dxf-file> ...
12 years 前 | 0
已回答
CAD model robot matlab
Hi Javier, yes, what you see in the video is possible, on the other side is not immediate. What the user has probably done is...
CAD model robot matlab
Hi Javier, yes, what you see in the video is possible, on the other side is not immediate. What the user has probably done is...
12 years 前 | 0
已回答
CAD model robot matlab
You may consider using Simulink and SimMechanics with the CAD Import feature: <http://www.mathworks.com/products/simmechanics/d...
CAD model robot matlab
You may consider using Simulink and SimMechanics with the CAD Import feature: <http://www.mathworks.com/products/simmechanics/d...
12 years 前 | 0
已回答
XPC commands in R2011b Matlab
The command to open xPC Target Explorer is "xpcexplr" but please note that if you are on Win64 bit architecture you won't be ab...
XPC commands in R2011b Matlab
The command to open xPC Target Explorer is "xpcexplr" but please note that if you are on Win64 bit architecture you won't be ab...
12 years 前 | 0
已回答
It is possible to read the graph and it has to produce the Y value for my input X value.
Why are you asking two (x,y) values for a line and then also the intercept? Given two points you are able to calculate both m an...
It is possible to read the graph and it has to produce the Y value for my input X value.
Why are you asking two (x,y) values for a line and then also the intercept? Given two points you are able to calculate both m an...
12 years 前 | 0
| 已接受
已回答
Read .seq file in MATLAB
On page: <http://people.cs.uchicago.edu/~dinoj/matlab/> There are some routines for working with .seq files in MATLAB. I've ...
Read .seq file in MATLAB
On page: <http://people.cs.uchicago.edu/~dinoj/matlab/> There are some routines for working with .seq files in MATLAB. I've ...
12 years 前 | 0
已回答
How can I find the optimum input to a Simulink model?
Hi, as Mariano was suggesting you may consider using an optimization algorithm and run the Simulink model in your objective f...
How can I find the optimum input to a Simulink model?
Hi, as Mariano was suggesting you may consider using an optimization algorithm and run the Simulink model in your objective f...
12 years 前 | 1
| 已接受
已回答
fitting three lines in one figure
Hi, suggestion: write also the error you obtain: Error using fit>iFit (line 129) X must be a matrix with one or two colum...
fitting three lines in one figure
Hi, suggestion: write also the error you obtain: Error using fit>iFit (line 129) X must be a matrix with one or two colum...
12 years 前 | 0
已回答
Logic to copy files into specific locations
Hi, This is a possible approach: files = dir('*.mat'); for i = 1:length(files) datefolder = files(i).name(14:1...
Logic to copy files into specific locations
Hi, This is a possible approach: files = dir('*.mat'); for i = 1:length(files) datefolder = files(i).name(14:1...
12 years 前 | 0
| 已接受
已回答
changing the date form in a cell matrix
The date has an ambiguous format cause "M 2009" can be march or may so a classic approac with DATENUM may not be appropriate. Wh...
changing the date form in a cell matrix
The date has an ambiguous format cause "M 2009" can be march or may so a classic approac with DATENUM may not be appropriate. Wh...
12 years 前 | 0
已回答
Inserting a word equation in Matlab
Depending on the purpose you have multiple approaches. If it's going on the command window your option is to write the Symbol...
Inserting a word equation in Matlab
Depending on the purpose you have multiple approaches. If it's going on the command window your option is to write the Symbol...
12 years 前 | 0
已回答
A problem with grammar
Not sure that I've fully understood your goal. From what I've got you may try to use the EVAL function to evaluate your string. ...
A problem with grammar
Not sure that I've fully understood your goal. From what I've got you may try to use the EVAL function to evaluate your string. ...
12 years 前 | 0
| 已接受
已回答
How I can I display data with the dates
TEXTSCAN requires that you use the command FOPEN: < http://www.mathworks.com/help/releases/R2012a/techdoc/ref/fopen.html> ...
How I can I display data with the dates
TEXTSCAN requires that you use the command FOPEN: < http://www.mathworks.com/help/releases/R2012a/techdoc/ref/fopen.html> ...
12 years 前 | 0
已回答
GUI axis, graph label pop up menu settings
Hi, the approach is the same you have probably used before. You may use the object callback (you may have edit box to allow...
GUI axis, graph label pop up menu settings
Hi, the approach is the same you have probably used before. You may use the object callback (you may have edit box to allow...
12 years 前 | 0
已回答
How to create stacked bars with min/max values
Hi, you may have a look at this solution: <http://www.mathworks.it/support/solutions/en/data/1-12BBCS/index.html>
How to create stacked bars with min/max values
Hi, you may have a look at this solution: <http://www.mathworks.it/support/solutions/en/data/1-12BBCS/index.html>
12 years 前 | 0
已回答
How to plot multiple polar graph?
The HOLD command should work: <http://www.mathworks.com/help/releases/R2012a/techdoc/ref/hold.html> t = 0:.01:2*pi; p...
How to plot multiple polar graph?
The HOLD command should work: <http://www.mathworks.com/help/releases/R2012a/techdoc/ref/hold.html> t = 0:.01:2*pi; p...
12 years 前 | 3
| 已接受
已回答
error using msg box
You are trying to concatenate a vector (your text) with a matrix. The dimensions are not consistent. You can use the CHAR functi...
error using msg box
You are trying to concatenate a vector (your text) with a matrix. The dimensions are not consistent. You can use the CHAR functi...
12 years 前 | 0
| 已接受
已回答
How to arrange names in alphabetical order
You can use the SORT command: <http://www.mathworks.com/access/helpdesk/help/techdoc/ref/sort.html> An example: names ...
How to arrange names in alphabetical order
You can use the SORT command: <http://www.mathworks.com/access/helpdesk/help/techdoc/ref/sort.html> An example: names ...
13 years 前 | 0
| 已接受
已回答
Design Iterative PID Tuner using MATLAB and Simulink
There is not a single solution, so let me list some ideas on how to approach your problem: - It seems that you look for the q...
Design Iterative PID Tuner using MATLAB and Simulink
There is not a single solution, so let me list some ideas on how to approach your problem: - It seems that you look for the q...
13 years 前 | 0
已回答
Using a for loop to change matrix dimesnsions
I can suggest you an approach without FOR loops that's more synthetic and is not suffering of the changing size issue: %% Tes...
Using a for loop to change matrix dimesnsions
I can suggest you an approach without FOR loops that's more synthetic and is not suffering of the changing size issue: %% Tes...
13 years 前 | 0
已回答
How to find row number
The command MAX will do the work. The second output is exactly the index of the max value. <http://www.mathworks.com/access/hel...
How to find row number
The command MAX will do the work. The second output is exactly the index of the max value. <http://www.mathworks.com/access/hel...
13 years 前 | 0
已回答
program to get the user to enter the values
If you are expecting a command line input you can use the INPUT command: <http://www.mathworks.com/access/helpdesk/help/techd...
program to get the user to enter the values
If you are expecting a command line input you can use the INPUT command: <http://www.mathworks.com/access/helpdesk/help/techd...
13 years 前 | 0
| 已接受
已回答
Building PID without transfer functions
You can also create your PID (discrete) block on your own based on the difference equations. y(k) = yp(k) + yi(k) + yd(k) ...
Building PID without transfer functions
You can also create your PID (discrete) block on your own based on the difference equations. y(k) = yp(k) + yi(k) + yd(k) ...
13 years 前 | 1
已回答
Basic Function Error (Plot Related
You should use the element by element power elevation ".^". Without the "dot" you are trying to do the power of a matrix and thi...
Basic Function Error (Plot Related
You should use the element by element power elevation ".^". Without the "dot" you are trying to do the power of a matrix and thi...
13 years 前 | 1
| 已接受
已回答
How to generate a vector with the required values
The syntax: x=[.1:.1:.9] is creating a vector incrementally and due to Floating Point arithmetic approximation the obtai...
How to generate a vector with the required values
The syntax: x=[.1:.1:.9] is creating a vector incrementally and due to Floating Point arithmetic approximation the obtai...
14 years 前 | 2
| 已接受
已回答
Variable into block "from workplace"
From Workspace block should have a first column representing time and then your data columns. This should work fine: data ...
Variable into block "from workplace"
From Workspace block should have a first column representing time and then your data columns. This should work fine: data ...
14 years 前 | 1
| 已接受
已回答
Problem with origin and plotting axes
Your code is basically: plot([1 1]'); and is represented by a line with first point(1,1) and second point (2,1) (giving ...
Problem with origin and plotting axes
Your code is basically: plot([1 1]'); and is represented by a line with first point(1,1) and second point (2,1) (giving ...
14 years 前 | 0