What is this issue "persistent memory:False" ??

5 views (last 30 days)
I am trying to use matlab command dfilt.df1, and when i run my script , i get error shown in attached snapshot
My code:
clc
clear all
close all
b=[1 2 3]
a=[1 3 2]
H=dfilt.df1(b,a)
My snapshot is attached and i highlighted "false" line.What is its meaning?How can i get rid of it?

Accepted Answer

Steven Lord
Steven Lord on 6 Jul 2020
The command dfilt.df1 creates an object (a "discrete-time, direct-form I filter object".) That object has a property named PersistentMemory, and from that documentation page that property "Specifies whether to reset the filter states and memory before each filtering operation. Lets you decide whether your filter retains states from previous filtering runs. False is the default setting."
You can't get rid of it, it is part of the object.

More Answers (0)

Products


Release

R2015a

Community Treasure Hunt

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

Start Hunting!