Ifelse
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.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Kronecker Delta Download |
HOW USING FUNCTIONS IF-ELSE, SWITCH-CASE, FOR, WHILE IN MATLAB.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 4.28 MB | Download (54): 16. MATLAB: IF, SWITCH, FOR, WHILE Download |
shortcut for simple if conditions.The function works similar to Excel format.First argument is the condition, second is what to do if true, third is what to do if false.example 1:A = ifelse(x>thr, 5, 3)will execute:if x>thrA = 5elseA = 3endexample 2:A = ifelse(im>thr, im*2, im/2)will execute:A =...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): if-then-else shortcut Download |
Vemplator is PHP template engine basically replaces specially formatted strings of text(variables, etc.) contained in an HTML file, it is fully exploiting this results in code without any any interspersed (and hard to find) HTML tags. When implemented properly, a site's layout can be changed...
Platforms: PHP
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (52): Vemplator Download |