Piecewise Function (Toolbox Doesn't Work)
Mostra commenti meno recenti
Hi,
When I try to create a piecewise function with the Symbolic Math Toolbox, it says unrecognized. I cleared the toolbox path cache and reset paths to default. I checked "which ~all <piecewise>" but it's like it doesn't exist.
After creating a piecewise function, I need to plot it discretely. It should look like this:

n2=-2:0.5:0;
f2 = @(n2) (0);
hold on
n=0:0.5:5;
f = @(n) (3*exp(-n).*sin(pi*n));
figure;
stem(n, f(n));
TIA
2 Commenti
Dyuman Joshi
il 28 Gen 2024
Do you have the Symbolic Math Toolbox installed?
Type "ver" in the command window and check the output.
balla243
il 28 Gen 2024
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Assumptions in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

