摘要: 在matlab中习惯了使用syms符号函数,octave中没有这个函数,需要安装个包,只要在octave的命令行中输入以下三个命令即可: 1、pkg install -forge symbolic For information about changes from previous version 阅读全文
posted @ 2022-11-03 23:15 叕叒双又 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 代码1:z = sqrt(x^2 + y^2) close all x = -6:0.05:6; [X, Y]=meshgrid(x); Z = sqrt(X.^2 + Y.^2); mesh(X, Y, Z) 如图1: 代码2:z = 2 - x^2 - y^2 clear all x=-5:0. 阅读全文
posted @ 2022-11-03 22:40 叕叒双又 阅读(426) 评论(0) 推荐(0) 编辑