Feeds
질문
Trying to plot the solution to a differential equation, but my code is giving me a solid number rather than an equation??
I will paste my code, attatch the .m file, and also paste my inputs. Very strange to me because I cant find the problem. New to ...
6년 초과 전 | 답변 수: 0 | 0
0
답변질문
Error when calling function, "Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters."
function m_roots(f,m) xroots = zeros(1,m); dx=1/100; x=0; jj=0; while jj<m while f(x)*f(x+dx)>0, x=x+dx; end ...
6년 초과 전 | 답변 수: 3 | 0
3
답변질문
Writing a function that returns all the roots of any function within a certain range?
Hi all, I'm just getting started with MATLAB and coding in general so don't understnad many of the basics. My task here is to...
6년 초과 전 | 답변 수: 1 | 0