統計
All
Feeds
質問
Operator '-' is not supported for operands of type 'table'
Hello everyone. I have been trying to substract arrays. but I get an error message " Operator '-' is not supported for operand...
2年以上 前 | 3 件の回答 | 0
3
回答質問
Code an equation in MATLAB
In matlab, I write the following code to the above equation as follows ri = sqrt(psi_coordinates.^2+theta_c...
2年以上 前 | 0 件の回答 | 0
0
回答質問
Determinant of the Jacobian as a constraint couldn't avoid atan2(x,y) get into negative.
I've been trying to avoid singularity using determinant as a constraint. However, some anglar values obtained using atan2 () kee...
2年以上 前 | 1 件の回答 | 0
1
回答質問
How to speed up iterating a large data in a nested loop ?
%example a=1x1000; b=1x1000; for i=1:length(a) for j 1:length(b) x(i,j)=cos(a(i)); y(i,j)=sin(b(j...
4年弱 前 | 1 件の回答 | 0
1
回答質問
fmincon and fmiunc gives different result for the same problem
Can anyone help how to setup the result from fmincon and fminunc to give the same result for same problem ? Thanks
約4年 前 | 1 件の回答 | 0
1
回答質問
global convergence of quasi-newton
Is there any way to pick a global optimum point in the quasi-newton algorithm of matlab? Thanks
約4年 前 | 0 件の回答 | 0
0
回答質問
Function for linearization of nonlinear system of equations
V =F(rp,x1,x2,theta(t), psi(t), phi(t),wx(t),wy(t) ) is a non linear equation and the objective is to minimize output vector V f...
約4年 前 | 0 件の回答 | 0
0
回答回答済み
Why option for fmincon is not working ?
I got it why. The nonlcon argument has been skipped. [V,fval,exitflag,output,lambda,grad,hessian] = fmincon(fun,x,[],[],[],[],L...
Why option for fmincon is not working ?
I got it why. The nonlcon argument has been skipped. [V,fval,exitflag,output,lambda,grad,hessian] = fmincon(fun,x,[],[],[],[],L...
約4年 前 | 0
| 採用済み
質問
Why option for fmincon is not working ?
I defined the option as follows and it is not working. I tried many other options as well. Could anyone gives some idea ? Thank...
約4年 前 | 2 件の回答 | 0
2
回答質問
fminunc for upper and lower bound variable definition ?
Isn't it possible to give upper and lower bound for the variables in the objective function while using fminunc ? Thank you.
約4年 前 | 2 件の回答 | 0
2
回答質問
Visualize (plot) 3D array data
Surf and mesh functions are not handling the following data. Is it me or other methods should be used ? Thanks ts=5; t=0:1/...
約4年 前 | 0 件の回答 | 0
0
回答質問
Can any one check why quasi-newton is not working for my function ?
function V = PRSopt_QN(radius,alpha,beta) %% Calling the function fun = @(x)PRSopt_QN(x(1),x(2),x(3)); x0 = [0.25, ...
約4年 前 | 0 件の回答 | 0
0
回答質問
Quasi newton method for NLP code problem
Hello, Can some one tell whats wrong with the following program ? I tried to change x and evaluate V but I got some difficulti...
約4年 前 | 1 件の回答 | 0
1
回答質問
Appropriate nonlinear optimization tool in matlab
I have objective funciton subjected to . The optimization design variables are and . I cannot linearize the function to use L...
約4年 前 | 0 件の回答 | 0
0
回答質問
How to work with a matrix close to singular in MATLAB ?
I've ill-conditioned matrix which shows its inverse close to singular. So, the minimization solution is unstable. The psedoinve...
約4年 前 | 1 件の回答 | 0
1
回答質問
Why Matlab tells the following A*A^T matrix is not a positive Semi-definite Matrix ?
M = [ 1.0000 0 0 0 0 0;... 0 0.9803 -0.0000 -0.0000 -0.0984 0.0984;...
約4年 前 | 1 件の回答 | 0
1
回答質問
Why matlab live editor and matlab script gives different rank calculation result for the same matrix ?
I suddenly found matlab is misundesrstanding this matrix and checked it with matlab live editor. Then, matlab live gives the...
約4年 前 | 2 件の回答 | 0
2
回答質問
Why is it so hard for MATLAB to solve the following symbolic equation
syms rp alpha beta theta psi z A=cos(alpha)-cos(beta); B=sin(alpha)-sin(beta); C=(cos(beta)-1)/tan(beta)-(cos(alpha)-1)/tan(a...
4年以上 前 | 1 件の回答 | 0
1
回答質問
Solving trigonometric equation (decoupling)
I wanted to solve as a function of other variables Is is possible to decouple this equation ? Even matlab symbolic gave m...
4年以上 前 | 2 件の回答 | 0
2
回答質問
Numerical integration RK4 for the given data
I have the angular veocity data shown below and wanted to apply , where. w Columns 1 through 9 5.0468 0.1049 -0....
4年以上 前 | 1 件の回答 | 0
1
回答質問
Symbolic Derivative in matlab
Can matlab diffrentiate F with respect to , and only ?. Any help is apperciated
4年以上 前 | 1 件の回答 | 0
1
回答質問
Output argument "St" (and maybe others) not assigned during call to "function ".
I got an error Output argument "St" (and maybe others) not assigned during call to "get_StCarretero". Error in InverseVeloc...
4年以上 前 | 0 件の回答 | 0
0
回答質問
Evaluate gradient function in the for loop.
is a function dependent on time. It is n the function and need to be differentiated to get and the differentiation should pa...
4年以上 前 | 1 件の回答 | 0
1
回答質問
Interpolating angle between -0.2 to 0.2 rad
Can anyone help for a valid interpolation of an angle from -0.2 to 0.2 to give 1001 points in between? SLERP is not doing this ...
4年以上 前 | 1 件の回答 | 0
1
回答質問
Algorithm to extract linearly dependent columns in a matrix
Is there any general or standard approach to extract columns that are linearly dependent from the given matrix ? Thanks and an...
4年以上 前 | 3 件の回答 | 0
3
回答質問
Interpolating the data given between -pi and pi
I have the following program and wanted to get the value between - and . But the program I made below only gives . Any help is ...
4年以上 前 | 1 件の回答 | 0
1
回答回答済み
xlswrite multidimensional array in one sheet.
This works, in any case if someone need it T=matrix ; for j=1:length(matrix) T(8*(j-1)+[1,dim(matrix)],:)=matrix(:,:,j) ...
xlswrite multidimensional array in one sheet.
This works, in any case if someone need it T=matrix ; for j=1:length(matrix) T(8*(j-1)+[1,dim(matrix)],:)=matrix(:,:,j) ...
4年以上 前 | 0
| 採用済み
質問
xlswrite multidimensional array in one sheet.
I tried to export 6 x 6 x 1000 matrix from matlab to exel. However, the xlswrite overwrite it. I used the following loop to ...
4年以上 前 | 2 件の回答 | 0
2
回答質問
quat2eul(quat) and dcm2Angle(R) difference for ZYX sequence
I've converted a quaternion to Euler angle using quat2eul(q,'ZYX') and a rotation matrix to Euler angle with function dcm2Angle(...
4年以上 前 | 2 件の回答 | 0
2
回答質問
Integrate 61 x 3 tabular data using Runge Kutta
I have a 61 x 3 velocity data and wanted to integrate using Rung Kutta integrator? I know how to integrate when I have a funct...
4年以上 前 | 2 件の回答 | 0