Risposto
Data fitting
As the name basic fitting suggests, it is basic. Please consider using the Curve Fitting Toolbox of your university license or m...

oltre 14 anni fa | 0

Risposto
Why is the function not outputting all the variable?
You need to call your function in a way that it stores the to be returned values in variables like [notnecessarilyC, xyzout1...

oltre 14 anni fa | 2

Risposto
Obtaining variables from a list of values depending on user input
This looks like a good use for Interpolation with the INTERP1 command. There are however multiple way to interpolate, fit, etc. ...

oltre 14 anni fa | 1

| accettato

Risposto
linking simulink from m-file
This is a matter of the return variables of the SIM command. This examples code is from the documentation: Specify parameter ...

oltre 14 anni fa | 1

| accettato

Risposto
importdata - HELP MEMORY
Like mentioned in an other answer. A 64 Bit MATLAB on a 64 Bit machine should be tested. There are however many smart methods...

oltre 14 anni fa | 1

| accettato

Risposto
Can anyone help me with the water level tank (sltank) example available on Matlab?
There is user data "hidden" in the figure 'tankdemo'. The user data gets extracted into the variable 'yData' by the line yD...

oltre 14 anni fa | 1

| accettato

Risposto
Difference between .m and .mat files
* MATLAB *code* is in files with extension |.M|. * MATLAB *data* is in files with extension |.MAT|. Thus, you can't always "...

oltre 14 anni fa | 4

| accettato

Risposto
System time Matlab
now

oltre 14 anni fa | 1

Risposto
ask for matlab script to give only the entries not in other file
x=[1222 1232 3310 2223]; y=[5555 1222 3310 1212]; setdiff(x,y)

oltre 14 anni fa | 0

Risposto
To save whole workspace in a file(possibly excel)
I have nothing elaborated yet, but I am thinking of using whos and then looping through all variables and use XLSWRITE. You cert...

oltre 14 anni fa | 0

| accettato

Risposto
Appending data into mat file without loading
You can append additional variable to the MAT file with save -append but you can't alter a saved variable. You may want...

oltre 14 anni fa | 0

Risposto
Segmentation violation detected
The crash refers to mkl.dll, the "Intel Math Kernel Library". I found one bug related to this and also other issues that can ...

oltre 14 anni fa | 0

Risposto
regarding .wav file
% Create WAV file in current folder for this test load handel.mat hfile='handel.wav'; wavwrite(y, Fs, hfile) clear...

oltre 14 anni fa | 0

| accettato

Risposto
Invalid MEX-file, invalid win32 application
It might be releated to the architecture. MEXW32 is for Windows 32 Bit. Maybe you use a Win XP for 64 Bit.

oltre 14 anni fa | 0

Risposto
Take a vector calculated in one m-file into another
Simple: Both MATLAB files are scripts (not starting with FUNCTION). You variable e will be simply available in the other file. ...

quasi 15 anni fa | 1

Risposto
Converting hh:mm:ss into seconds
Is this what you are looking for? t='14:35:59.812'; [Y, M, D, H, MN, S] = datevec(t); H*3600+MN*60+S

quasi 15 anni fa | 6

| accettato

Risposto
Run Length Matrix
In most cases, authors of user contributed files are very quick in responding. Did you try contacting <http://www.mathworks.com/...

quasi 15 anni fa | 0

| accettato

Risposto
Variable is changing when being read into a function
Indeed, there is not enough information for a real answer. Some ideas: 1. Somewhere between function [x] = somefuncti...

quasi 15 anni fa | 1

Risposto
Restriction when indexing large arrays
I'd say this question is a side answer from <http://www.mathworks.de/support/solutions/en/data/1-5193IK/index.html this solution...

quasi 15 anni fa | 0

| accettato

Risposto
unknown matlab error
You are attempting to create a matrix with more elements than the maximum number of elements allowed in MATLAB. Common causes...

quasi 15 anni fa | 0

Risposto
extract frames from mgpeg video
I am confident, you will find this <http://www.mathworks.de/help/techdoc/import_export/f5-132080.html part of the documentation>...

quasi 15 anni fa | 0

| accettato

Risposto
Using JavaBuilder
You may find this <http://www.mathworks.de/matlabcentral/answers/9226-compiling-a-matlab-builder-for-java-class-for-an-older-ver...

quasi 15 anni fa | 0

Risposto
Simulink scope autoscale
Typically, when users describe this, they are happy with the Time Scope Block from DSP System Toolbox. Here is <http://www.mathw...

quasi 15 anni fa | 0

Risposto
round numeric 0
This is actually done automatically if it is very very very small. But it looks the veryveryvery is different for you. The ...

quasi 15 anni fa | 0

| accettato

Risposto
Matlab2006 a installation issues on Acer laptop with Windows xp
Yes, contacting installation support is in most cases the better than asking on MATLAB Answers: http://www.mathworks.com/comp...

quasi 15 anni fa | 0

Risposto
MATLAB gives different results when compiled vs interactive
I am collecting reasons for those effects and like to link it to <http://www.mathworks.com/matlabcentral/answers/438-why-are-com...

quasi 15 anni fa | 0

| accettato

Risposto
"exist" command usage question
I'd say once you know the file exits on the path, the WHICH command will also be able to find the file - and return the path. On...

quasi 15 anni fa | 0

Risposto
cftool init problem
Although my guess is Walter's suggestion of name conflicts is correct, you should exclude a licensing issue. Not having a licens...

quasi 15 anni fa | 0

Risposto
MATLAB Permission
There is no need to enable saving or so. This will be just related to the directory / folder you attempt writing to. Mostly, thi...

quasi 15 anni fa | 1

Risposto
Hiding model content
Most customers create an S-Function from the part of the model that contains intellectual property by auto-generating the s-func...

quasi 15 anni fa | 1

Carica altro