matlab invalid expression issue
1 view (last 30 days)
Show older comments
solar_cell = @(V_mp) exp((q.*V_mp)./(kb.*T(k)))).*(1+((q.*V_mp)./(kb.*T(k))))-(exp((q.*V_OC)./(kb.*T(k))))
%i am being told "Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters"
0 Comments
Answers (2)
madhan ravi
on 25 Apr 2019
solar_cell = @(V_mp) exp((q.*V_mp)./(kb.*T(k))).*(1+((q.*V_mp)./(kb.*T(k))))-(exp((q.*V_OC)./(kb.*T(k))))
0 Comments
Walter Roberson
on 25 Apr 2019
solar_cell = @(V_mp) exp((q.*V_mp)./(kb.*T(k)))) <-- too many ) at this point
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!