Respondida
how run .c program in matlab
If you want to call your C function from within MATLAB you have to create a MEX file. Which mean you will have to modify your C ...

alrededor de 13 años hace | 2

| aceptada

Respondida
hello.....how find out angle in degree
z = 4+5i; angle_in_degrees = angle(z)*180/pi

alrededor de 13 años hace | 0

| aceptada

Respondida
what is function to find out adjoint of matrix............is there any command.......
I don't think there is a function but you can always do: det(A)*inv(A)

alrededor de 13 años hace | 1

| aceptada

Respondida
Why I got complex answer while I know it should be real????
I got the same as your friend. Try the following syms x F s X real

alrededor de 13 años hace | 0

Respondida
What is the difference between the effect of clear and clearvars?
clearvars just clears variables you specify, in the way you specify. clear is more powerful in the sense you can clear variab...

alrededor de 13 años hace | 1

| aceptada

Respondida
Problem with missing data in a time series
You can use NONCOV to compute the covariance matrix for data with NaN: http://www.mathworks.com/help/stats/nancov.html

alrededor de 13 años hace | 0

| aceptada

Respondida
Close command and Invalid figure handle
I don't recommend this at all, but depending on your use-case they may be useful with modifications: close(findobj('type','...

alrededor de 13 años hace | 0

Respondida
How can i plot using semilog graph using cftool
This feature is currently not available in CFTOOL. The best workaround I can recommend is to click on File > Generate Code. I...

alrededor de 13 años hace | 0

Respondida
Is it possible to use parfor to run a very large variable separately?
Could you elaborate on "run a very large variable separately" There are things you can do parallely and there are few things you...

alrededor de 13 años hace | 0

Respondida
Is there something called parallel toolbox which can help run things separately?
Lester, MathWorks offer Parallel Computing Toolbox, which lets you run applications in parallel on upto 12 workers on a local ma...

alrededor de 13 años hace | 0

| aceptada

Respondida
normal distribution random sample
I will be able to provide a clearer answer but I am not sure what you mean by "subsample of them according to the normal distrib...

alrededor de 13 años hace | 0

Respondida
What is the difference between delaunay.m and TriScatteredInterp.m
TriScatteredInterp indeed uses Delaunay triangulation. The reason they are different in MATLAB is because TriScatteredInterp pro...

alrededor de 13 años hace | 0

Respondida
Find moving average with filter
Appreciate your honesty. I recommend you go to wikipedia or your favorite signal processing book and take a deep loop at FIR fil...

alrededor de 13 años hace | 1

Respondida
svm classification using features
The following documentation page has information on how to train and classify using SVM: http://www.mathworks.com/help/bioinf...

alrededor de 13 años hace | 1

Respondida
plotting Phase-Plane Portraits
MATLAB offers several plotting routines. The "quiver" function may be ideal to plot phase-plane portraits. I found an interestin...

alrededor de 13 años hace | 5

Respondida
Gaussian help in Matlab
What you want is directly available in the curve fitting toolbox: <http://www.mathworks.com/help/curvefit/gaussian.html> Howe...

alrededor de 13 años hace | 0

Respondida
where to change values in nftool
You can find all this information in the documentation. Here is the doc for the version of MATLAB you are using: http://www.m...

alrededor de 13 años hace | 0

| aceptada

Respondida
Change position of markers within legend
I am not sure which property you want to change, but you can get the handle to the legend by first searching for the figure's ch...

alrededor de 13 años hace | 0

Respondida
Curve Fitting with error in the independent value
What you are referring to are a type of regression problems called error-in-variable models. They may go by other names dependin...

alrededor de 13 años hace | 0

| aceptada

Respondida
Finding an initial feasible point x0 for fmincon
You can set your objective function to zero keeping constraints as it is and run the optimization to find a new feasible start p...

alrededor de 13 años hace | 1

Respondida
Why is fmincon giving me a wrong answer depending on which initial feasible point I am using?
Del, it is untrue that x0=[-1 ; -2] is feasible. Lets take a look at your constraint: 1-x1*x2 <= 0 ==> x1 and...

alrededor de 13 años hace | 1

Respondida
Remote MATLAB with Java support
You can just save your figures to a file and copy/scp them to your laptop? Other alternatives I can see are VNC.

alrededor de 13 años hace | 0

Respondida
Solving 8-equations system in 8 variables with lsqnonlin()
optimset indeed is supported by LSQNONLIN. Just make sure its the 5th argument. Not all options are available for all solvers, ...

alrededor de 13 años hace | 0

| aceptada

Respondida
retrieve one row from matfile
load matfile_name if the variable with the matrix with 127*133 is X then >> X(1,:) will return all the 133 values...

alrededor de 13 años hace | 1

| aceptada

Respondida
GUiDE, is there a difference between setting up properties in OpeningFcn and setting them on the createFcn of each gui element?
OpeningFcn is specific to guide GUIs and will run each time the guide GUI is executed. http://www.mathworks.com/help/matlab/cre...

alrededor de 13 años hace | 1

| aceptada

Respondida
Help with solving two equations set equal to each other
Your current setup is forcing both the equations to zero individually. However if you intention is to solve for T such that eq...

alrededor de 13 años hace | 0

| aceptada

Respondida
Neural network for multiple input and multi output (MIMO) systems
create different networks for each fi. fi: x1..xn -> yi Also can you provide a little context to the questions? What is this...

alrededor de 13 años hace | 1

Respondida
Matlab loop (with load/save) is getting slower and slower
Michael, try the following: put a memory command in the the loop: for i = 1:50 load(i.mat, input); outpu...

alrededor de 13 años hace | 0

Respondida
Function for symbolic expression with only some variable among all variables
You can use anonymous function to do that. However make sure that the other 3 variables a1 a2 t2 are also defined in the functio...

alrededor de 13 años hace | 0

Respondida
Computing Variance manually problem
Your formula is wrong. when you say var(var(A)) you are actually computing the variances of each column and then variances of th...

alrededor de 13 años hace | 0

| aceptada

Cargar más