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

6 Ansichten (letzte 30 Tage)
ABTJ
ABTJ am 6 Jul. 2020
Beantwortet: Steven Lord am 6 Jul. 2020
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?

Akzeptierte Antwort

Steven Lord
Steven Lord am 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.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte


Version

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by