I need some help please!
10 次查看(过去 30 天)
显示 更早的评论
Hello!
I got this as an exsample, but I dont know how to get the solution for these questions. Would one of you please help?

4 个评论
David Hill
2021-6-7
Recommend you take the matlab onramp:
James Tursa
2021-6-7
You plug in the known numbers and then solve the equation for the remaining unknown.
采纳的回答
Daniel Vonderhaar
2021-6-20
2 个评论
John D'Errico
2021-6-20
LOL. Usually, we don't encourage people to answer questions posted with no effort shown by the student. But since you answered your own question. I guess that is ok. :)
If I can offer some getting started advice...
You used the variables alpha, beta, gamma. And while they may seem perfectly valid variable names, at the same time, they are also MATLAB functions, every one of them. At this point in your career, you won't be using the gamma or beta functions. But one day you may need to do so. ANd alpha is a graphics utility. Try this:
help alpha
help beta
help gamma
In each case, you will find functions in MATLAB that MAY come in quite handy one day.
A good idea when you use a variable name that seems like a common word, you might check to see if it already exists as a function in MATLAB.
Walter Roberson
2021-6-20
In practice, using alpha tends to cause problems: it is a common failure to encounter a point in a program where alpha has not been defined, and then to have MATLAB error with a confusing error message when alpha gets used. For example,
bx = x.^(1-alpha)
with alpha not having been defined as a variable, will generate an error about "Too many output arguments".
If beta or gamma are used in the same kind of circumstances, the error is instead about "Not enough input arguments" which tends to be easier to understand.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!