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
已解决
Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...
10 years 前
已解决
Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...
10 years 前
已解决
Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): As an addit...
10 years 前
已解决
Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...
10 years 前
已解决
Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
10 years 前
已回答
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
已解决
Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]
12 years 前
已解决
The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".
12 years 前
已回答
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
| 已接受
已解决
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
12 years 前
已解决
Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...
12 years 前
已解决
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
12 years 前