rdiff: ratios a la diff
Version 1.0.0.0 (1,17 KB) von
Peter Mao
Calculates the ratios of consecutive elements in an array
Essentially, this is the built-in DIFF with subtraction replaced by division.
The sign is preserved for one iteration. I have not checked for it's validity with multiple rdiff's, so a warning is printed for iteration > 1.
Zitieren als
Peter Mao (2024). rdiff: ratios a la diff (https://www.mathworks.com/matlabcentral/fileexchange/59155-rdiff-ratios-a-la-diff), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2014b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Language Fundamentals > Operators and Elementary Operations > Logical (Boolean) Operations >
Mehr zu Logical (Boolean) Operations finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |