Feeds
已回答
Can't define functions in Matlab
Your function name must match the file name you save it under. Could this be the issue?
Can't define functions in Matlab
Your function name must match the file name you save it under. Could this be the issue?
12 years 前 | 0
已回答
Please help as I am struggling to solve this homework problem.
Don't know if this is any assistance to you but--Here is my code for the Gauss-Seidel iterative method: function [ X, Nt...
Please help as I am struggling to solve this homework problem.
Don't know if this is any assistance to you but--Here is my code for the Gauss-Seidel iterative method: function [ X, Nt...
12 years 前 | 0
已回答
How do we solve multiple ODEs to fit empirical observations by optimizing multiple constants?
Set each ODE equal to zero on the RHS and minimize the difference between the two terms on the LHS for each of your ODEs to be o...
How do we solve multiple ODEs to fit empirical observations by optimizing multiple constants?
Set each ODE equal to zero on the RHS and minimize the difference between the two terms on the LHS for each of your ODEs to be o...
12 years 前 | 0
已回答
"nonlincon" part of the "fmincon" function in the optimization toolbox
What if you globalize the variables that you want to define in the nonlcon function. You would write global variable1.. global...
"nonlincon" part of the "fmincon" function in the optimization toolbox
What if you globalize the variables that you want to define in the nonlcon function. You would write global variable1.. global...
12 years 前 | 1
| 已接受
已回答
Objective Orientated Programming in Matlab
# Engineering Optimization- Theory and Practice 4th Edition by Singiresu Rao # Optimization Concepts and its Applications in En...
Objective Orientated Programming in Matlab
# Engineering Optimization- Theory and Practice 4th Edition by Singiresu Rao # Optimization Concepts and its Applications in En...
12 years 前 | 0
已回答
i want my fun value to be zero and also should satisfy the constraints,i uesd fmincon command
Hello sir, I obtained what I assume to be the correct result for your program: Local minimum found that satisfies the con...
i want my fun value to be zero and also should satisfy the constraints,i uesd fmincon command
Hello sir, I obtained what I assume to be the correct result for your program: Local minimum found that satisfies the con...
12 years 前 | 0
已回答
what changes i need to make for better answer (fmincon)
Hello sir, I obtained what I assume to be the correct result for your program: Local minimum found that satisfies the const...
what changes i need to make for better answer (fmincon)
Hello sir, I obtained what I assume to be the correct result for your program: Local minimum found that satisfies the const...
12 years 前 | 0
已回答
matlab error! "must return a column vector."
First of all, you initialize n_loss as a 3x1 column vector of zeros and then start to define it as a 3x3 matrix when you use the...
matlab error! "must return a column vector."
First of all, you initialize n_loss as a 3x1 column vector of zeros and then start to define it as a 3x3 matrix when you use the...
12 years 前 | 0
已回答
Optimization algorithm in simulink
I don't know if this will be useful to you or not but there is a series of tutorials and files for mpc & simulink in the file ex...
Optimization algorithm in simulink
I don't know if this will be useful to you or not but there is a series of tutorials and files for mpc & simulink in the file ex...
12 years 前 | 0
已回答
Defining a for loop
Matlab code t0= 0; %assign an initial time t0 tf= 100; %set final time tf for t=t0:tf {execute commands} end Is this...
Defining a for loop
Matlab code t0= 0; %assign an initial time t0 tf= 100; %set final time tf for t=t0:tf {execute commands} end Is this...
12 years 前 | 0
已回答
plotting a linear equation
Or: By all means, the solution method above will work. However, as your function increases in complexity, that command becomes ...
plotting a linear equation
Or: By all means, the solution method above will work. However, as your function increases in complexity, that command becomes ...
12 years 前 | 3
已回答
Finding the maximum value in a loop
I am a little confused on the code you've provided. Perhaps if you were to clarify the problem statement and your objective mo...
Finding the maximum value in a loop
I am a little confused on the code you've provided. Perhaps if you were to clarify the problem statement and your objective mo...
12 years 前 | 0
已回答
How to use previously calculated value in next iteration
Something that may be more efficient for your code is: Tfn(1)= 5 % initial value of Tfn for 2:700000 Tfn(n)=(1/32)*...
How to use previously calculated value in next iteration
Something that may be more efficient for your code is: Tfn(1)= 5 % initial value of Tfn for 2:700000 Tfn(n)=(1/32)*...
12 years 前 | 0
已回答
finding unknown values in a column by using the indices (indexes) of known values.
Probably not as efficient as those above, but this is the simplest way I always tried to do it. j= find(row1==1.5); for ...
finding unknown values in a column by using the indices (indexes) of known values.
Probably not as efficient as those above, but this is the simplest way I always tried to do it. j= find(row1==1.5); for ...
12 years 前 | 1
已提交
pregress.m
A Matlab function pregress.m to carry out linear regression for an arbitrary order n polynomial.
12 years 前 | 1 次下载 |