Using Polyfit in Simulink

Hi! Please consider the following:
1. X[501x1]
2. Y[501x1]
I am trying to use the polyfit block simulink. After setting the Order for 8, the last 4 values are always zero. similarly, for order 7, last 3 values are always zero and so on until 5, where i get no zeros. Please advise whether i am using the system in-correctly or my understanding is flawed??

2 个评论

Here is the link for the Model Screenshot.
Did you receive an answer or found a solution? Have the same problem.

请先登录,再进行评论。

回答(1 个)

Sebastian Castro
Sebastian Castro 2015-5-25

0 个投票

Did you try double-clicking the Display block and changing the Format options? The default is "short", which may not show the smaller higher-order values.
- Sebastian

类别

帮助中心File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by