フィルターのクリア

Polynomial arrays intersection and area within intersection

4 ビュー (過去 30 日間)
Rick
Rick 2014 年 8 月 9 日
コメント済み: Rick 2014 年 8 月 11 日
Hello,
I don't understand what is meant by polynomial array. I am wondering if it is as simple as what I wrote.
For part 2, I know I need to do some sort of fzero, but I'm not really sure. like fzero(f1,f2) or something along those lines.

採用された回答

Roger Stafford
Roger Stafford 2014 年 8 月 9 日
@Rick. What Ahmet has given you does in fact help. Your mistake lies in assuming powers for matlab's 'intersect' function that it doesn't have. If you read its documentation you will see what I mean. What you need at this point is 'roots', not 'intersect'. Does that get you going again?
  8 件のコメント
Roger Stafford
Roger Stafford 2014 年 8 月 11 日
Here is my final hint, Rick. What do you think would be the result of:
roots(f2-f1)
where f1 and f2 are the arrays referred to in part G.1 of your image.jpg ?
Rick
Rick 2014 年 8 月 11 日
apparently it gives you the intersection. I don't understand how it does that, I did that command and it gave the intersection.

サインインしてコメントする。

その他の回答 (1 件)

Ahmet Cecen
Ahmet Cecen 2014 年 8 月 9 日
help polyval
And the rest is your homework. Good luck.
  2 件のコメント
Rick
Rick 2014 年 8 月 9 日
編集済み: Rick 2014 年 8 月 9 日
I don't see how that helps. I don't have values for x. One thing I would like to stress is that this is supposed to be done by hand, I wouldn't even have matlab with me since this was an exam problem.
is
f1 = [0 -0.5 -3.5 4];
f2 = [-0.1 0 1.3 5];
intersect(polyval(f2,x),polyval(f1,x))
ans =
Empty matrix: 1-by-0
Ahmet Cecen
Ahmet Cecen 2014 年 8 月 9 日
x=-6:0.1:12; %maybe even 0.01

サインインしてコメントする。

カテゴリ

Help Center および File ExchangePolynomials についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by