Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for MissMulanâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #286940 |
Post edited: |
— | over 2 years ago |
Edit | Post #286940 | Initial revision | — | over 2 years ago |
Question | — |
When I use the piecewise function I get more columns in the output I have this code ``` syms t y(t) = theaviside(t)heaviside(1-t); x(t) = piecewise(01,0); l = -2:0.01:2; disp(y(l)); disp(x(l)); ``` and in the output, I get 2 vectors which is ok. But if you look at those vectors Matlab output when applying the defined piecewise function ... (more) |
— | over 2 years ago |