Kronecker Delta
Version 1.0.0.0 (1,24 KB) von
Richard Rieber
Given 2 subscripts, j & k, KronD will return 1 if j == k and 0 if j != k.
Given 2 subscripts, j & k, KronD will return 1 if j == k and 0 if j != k.
A very simple function with only a single if-else statement. Saves a bit of typing when the Kronecker Delta is needed.
Zitieren als
Richard Rieber (2024). Kronecker Delta (https://www.mathworks.com/matlabcentral/fileexchange/26485-kronecker-delta), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2008a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Characters and Strings 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 |