Community Profile

photo

Aakash Divakar


Last seen: 3 Monate ago Active since 2020

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


error in fmincon function
clear all; clc; objective=@(r)((r(2))*(-25)*(2^(1-max(r(2)/(8*r(3)),r(2)/r(4)))))/(15*r(1))+ 2*(r(5)/r(1)); r0= [1 25 120 1...

6 Monate ago | 1 answer | 0

1

answer

Question


convert to double equation
my function gives an error while converting to double a one place (marked as %****) while at other places it works fine. syms...

etwa ein Jahr ago | 0 answers | 0

0

answers

Question


how should i store the values of I and X in a vector to plot the graph of I vs X
syms f(x) sym x f(x)=2*x^2 x=0; v=[]; diary('wispn.txt') diary on while x<0.36 I=int(f,0,x) x=x+0.1; v(t)=w(x,I) t=...

etwa ein Jahr ago | 1 answer | 0

1

answer