How do I change input values in different function file ?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Chidiebere Ike
am 25 Mai 2018
Kommentiert: Chidiebere Ike
am 24 Jul. 2018
I have a .m file with several function file and my focus is to observe the changes in PSNR and SSIM results values. How do I make changes to the INPUT values of any of the function files ? Please guide me. Thank you
5 Kommentare
Akzeptierte Antwort
Walter Roberson
am 26 Mai 2018
scaleup_ICR does not appear to be called by the demo code, but scaleup_ICR_MIKSVD is called and expects the same kind of first input.
If you look at line 207 you will see that DEMO_CRC loads conf_ICR_App_1 from a .mat file if the .mat exists, and otherwise builds a struct field by field, starting around line 213. Around line 691 the structure is adjusted to current information and then scaleup_ICR_MIKSVD is called on it.
So you can be fairly sure that scaleup_ICR should be called with a struct that has much the same fields as are constructed for conf_ICR_App_1
5 Kommentare
Walter Roberson
am 24 Jul. 2018
Sorry, that is a question of algorithm rather than of MATLAB; I do not think I have anything to contribute to that.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Whos finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!