Feeds
提问
Why am I getting the error of "Array indices must be positive integers or logical values." in the f(x) line?
clear; clc x = -1.612 : 0.01 : -1.322 ; for n = 1:1:length(x) f(x) = 8 * x(n)^3 - 2 * x(n)^2 - 15 * x(n) + 11 ; ...
5 years 前 | 1 个回答 | 0
1
个回答提问
Why am I getting invalid expression?
clear; clc h = 34.869 ; c = 13.679 ; J2eV = 0.845 ; counter = 0 ; for lambda = 800:6:854 counter = counter + 1 ; ...
5 years 前 | 2 个回答 | 0

