Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 matlab 中绘制图形,但我不知道如何在 matlab 中对其进行编程。我正面临问题。
gone = -xone-xtwo+10<=0; gtwo = -2*xone+3*xtwo-10<=0
您听起来像是 matlab 的新手,所以与其尝试“编程”图形,不如尝试使用提供的用户界面?
请执行下列操作:
在您的工作区中,右键单击要绘制图表的变量。
点击地块目录。
选择所需的图表类型,然后单击绘图。
更好的是,如果您想了解如何实际使用代码来构建您现在拥有的绘图,只需转到生成绘图的窗口,然后单击文件 - 生成代码。