使用limit函数求极限提示不允许不同类型之间赋值,怎么解决?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Akzeptierte Antwort
Dyuman Joshi
am 22 Apr. 2024
I scrolled across the image - jie is already defined as a struct (possibly in the code before this particular lines), thus you can not over-write it using indexing.
You can either
1) Over-write jie completely, like this -
jie = [limit(f, inf) limit(f, +inf) limit(f,-inf)]
or
2) Clear jie and then assign the limit values -
clear jie
jie(1) = limit(f, inf)
jie(2) = limit(f, +inf)
jie(3) = limit(f, -inf)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Big Data Processing finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!