Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Posts tagged matlab

For questions about programming with MATLAB, a proprietary multi-paradigm programming language and numeric computing environment.

This tag doesn't have a detailed wiki yet.

75%
+4 −0
Q&A Can Matlab packages have subdirectories?

I'd like to organize my Matlab packages into folders. However, if I try to lay out my code like this +MyPackage |---foo.m |---SubDir |---bar.m then I'm unable to reach bar. F...

1 answer  ·  posted 27d ago by zaen‭  ·  last activity 27d ago by zaen‭

Question matlab
44%
+2 −3
Q&A When I use the piecewise function I get more columns in the output

I have this code syms t y(t) = t*heaviside(t)*heaviside(1-t); x(t) = piecewise(0&lt;=t&lt;=1,1,t&lt;0,0,t&gt;1,0); l = -2:0.01:2; disp(y(l)); disp(x(l)); and in the output, I ge...

0 answers  ·  posted 9mo ago by MissMulan‭  ·  edited 9mo ago by Alexei‭