Using Polyfit in Simulink

5 views (last 30 days)
Sheetansh Kaushik
Sheetansh Kaushik on 16 Jul 2013
Answered: Sebastian Castro on 25 May 2015
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 Comments
Sheetansh Kaushik
Sheetansh Kaushik on 16 Jul 2013
Edited: Sheetansh Kaushik on 16 Jul 2013
Here is the link for the Model Screenshot.
Kilian
Kilian on 25 May 2015
Did you receive an answer or found a solution? Have the same problem.

Sign in to comment.

Answers (1)

Sebastian Castro
Sebastian Castro on 25 May 2015
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

Categories

Find more on Simulink Functions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!