已回答
How to compare in matlab
I suggest comparing the difference of A in k with a very small number: f=abs(k-A(1,:))<2*eps This avoids a couple of numeric...

16 years 前 | 0

已回答
Day of year to month
I am not 100% sure, but maybe this example helps you d2011=734504; % 734504 ist the first day of 2011 - example v=d2011:...

16 years 前 | 0

已回答
How do I reset MATLAB to its launched state?
Please see if MATLABRC is what you need <http://www.mathworks.com/help/techdoc/ref/matlabrc.html MATLABRC doc> If it is not com...

16 years 前 | 1

已回答
How do I reverse the order of a vector?
I think you are looking for commands like <http://www.mathworks.com/help/matlab/ref/flipud.html |flipud|> and <http://www.mathwo...

16 years 前 | 4

已回答
Why are computational results in MATLAB sometimes different on different machines and how can I prevent this has a high impact on my application?
I like to link this question and the answers to here: <http://www.mathworks.com/matlabcentral/answers/1032-why-do-some-calcul...

16 years 前 | 0

已回答
Locating Peaks Naively
If this is a signal processing application, you will find the <http://www.mathworks.com/help/toolbox/signal/findpeaks.html |find...

16 years 前 | 0

已回答
Is there a way to detect if a file is open in another application from MATLAB?
The FOPEN command returns a -1 if there is an issue with opening the file. You can use that. Even if you use LOAD or other funct...

16 years 前 | 1

| 已接受

已回答
simulink- too much connections?
I am not particularily strong with the Fuzzy Logic Controller block, but when I tried it a while ago, I recognized too, that the...

16 years 前 | 0

已回答
Initialization in Simulink
I am not sure why you find that easier, but yes this is possible. You can apply a callback function, e.g. the "Pre Load Function...

16 years 前 | 3

已回答
Blocks for RealTime Workshop
This is extensively docuemented here: Product Limitations Summary <http://www.mathworks.com/help/toolbox/rtw/ref/brl3tbg.h...

16 years 前 | 2

| 已接受

已回答
Confusing Simulink error: Derivative at time 0 is Inf or NaN
If you search MathWorks Solution documents and bug reports with " singularity solution reducing", you will find a <http://www.ma...

16 years 前 | 3

| 已接受

已回答
Framing a Video
As a starting point, please familiarize with the commands AVIREAD, MMREADER, VIDEOREADER, e.g.: <http://www.mathworks.com/hel...

16 years 前 | 0

已回答
Storing multiple values in one location of matrix
I need to speculate a bit what the question is. Here an example code: a=1; % I peronally never use i,j,I,J b=2; M=zeros(4...

16 years 前 | 3

| 已接受

已回答
How to find a variance to an image
The IMAGE function returns a handle, see <http://www.mathworks.com/help/techdoc/ref/image.html> I expect VAR over a handle...

16 years 前 | 0

已回答
How do I tell which toolboxes my program uses?
There are a couple of things to try and consider. First, you can run code on a machine that has the necessary products (e.g. a t...

16 years 前 | 12

| 已接受

已回答
Hadamard Transformation
There is a HADAMARD command in MATLAB that returns the Hadamard matrix of order n. Please explain if a 'Complex Hadamard Transfo...

16 years 前 | 0

已回答
Time conversion question
Usually, I would prefer the DATEVEC function, but as far as I see, this is not working here, as no month information is given. A...

16 years 前 | 1

已回答
Matlab error message when launching on Macbook Pro
"This issue is due to a change in the default Java version from when MATLAB R2009a was released...As a workaround, you can tempo...

16 years 前 | 2

提问


Why are computational results in MATLAB sometimes different on different machines and how can I prevent this has a high impact on my application?
I like to collect reasons why computational results in MATLAB and other MathWorks tools are sometimes different on different mac...

16 years 前 | 4 个回答 | 4

4

个回答

已回答
Can I install an earlier version of MATLAB on a system with a current version of MATLAB?
1. True. When downloading, you choose the 32 or 64 bit version of MATLAB 2. Yes. You can have multiple versions installed on ...

16 years 前 | 3

已回答
Contour Plotting in Surface Fitting Tool
If I understand your question correctly, this can be achieved by exporting the data and creating a new contour plot that can be ...

16 years 前 | 1

| 已接受

已回答
String Manipulation
I see two approaches. As you have a filename, you can have MATLAB take care of this by using the FILEPARTS command: [pathst...

16 years 前 | 5

| 已接受

已回答
3D model based vehicle tracking
In case you can use the Video and Image Processing Blockset, you can have a look at multiple implementations of tracking here: ...

16 years 前 | 0

| 已接受

已回答
Statistics from spectrogram
When you use the SPECTROGRAM command in the following way, no MATLAB figure is created: T = 0:0.001:2; X = chirp(T,100,1...

16 years 前 | 0

已回答
Creating new blocks for use in Simulink
I am aware of two major implementations. First you can create your own Simulink block by using standard blocks and put them into...

16 years 前 | 1

已回答
Strange behaviour with elseif
The behaviour you observe is not a bug, but a result of normal numerical effects on different installations (surely processors, ...

16 years 前 | 1

| 已接受

已回答
Lost results after a weekend
There are a couple of different reasons for crashes and also of programming techniques you can use. See the following Technical ...

16 years 前 | 2

| 已接受

已回答
Is it possible to produce a Stateflow diagram from within a MATLAB code?
Yes, this is possible. This is called "Stateflow API" and is documented here: <http://www.mathworks.com/help/toolbox/stateflo...

16 years 前 | 2

| 已接受

已回答
How do I split a cell array of data I imported from Excel?
That depends on how you import it and what the resulting 'table' should be. A cell array? [num, txt, raw]=xlsread('pathtofi...

16 years 前 | 0

已回答
How do I get the figure position from a plot?
Using get(t(1),'Position') in your example code returns the 'Position' parameter only.

16 years 前 | 0

| 已接受

加载更多