octave

Cannot resolve ModuleNotFoundError: No module named 'sympy'

大城市里の小女人 提交于 2020-03-05 03:05:02
问题 Can someone help me resolve the following issue? I'm getting extremely frustrated. I've installed Octave with the symbolic package before, but I forgot how I did it, and I'm getting very upset at myself currently. I've installed Anaconda, Python, and Octave and I keep getting the following error message: Symbolic pkg v2.8.0: Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'sympy' error: Python cannot import SymPy: have you installed

Cannot resolve ModuleNotFoundError: No module named 'sympy'

主宰稳场 提交于 2020-03-05 03:04:29
问题 Can someone help me resolve the following issue? I'm getting extremely frustrated. I've installed Octave with the symbolic package before, but I forgot how I did it, and I'm getting very upset at myself currently. I've installed Anaconda, Python, and Octave and I keep getting the following error message: Symbolic pkg v2.8.0: Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'sympy' error: Python cannot import SymPy: have you installed

octave——基本操作

坚强是说给别人听的谎言 提交于 2020-03-03 23:09:51
1、如果不想用actave:1>,可以使用SP1('>> ')可以改变红色输出以>>表示 2、利用Octave绘制直方图: octave:1> w = -6 + sqrt(10)*(randn(1, 100000)); octave:2> hist(w) octave:3> hist(w ,50) % 绘制条数为50的直方图3、flipud表示矩阵垂直翻转4、设置坐标轴范围 5、添加路径    addpath('')搜索函数时即便不在当前目录,添加其他路径后,会搜索其路径。 6、可视化矩阵命令imagesc(),在用colorbar显示不同颜色的梯度,colormap gray显示灰度图。 来源: https://www.cnblogs.com/gkh-whu/p/10549346.html

吴恩达-coursera-机器学习-week2

♀尐吖头ヾ 提交于 2020-03-03 18:30:57
四、多变量线性回归(Linear Regression with Multiple Variables) 4.1 多维特征 4.2 多变量梯度下降 4.3 梯度下降法实践1-特征缩放 4.4 梯度下降法实践2-学习率 4.5 特征和多项式回归 4.6 正规方程 4.7 正规方程及不可逆性(可选) 五、Octave教程(Octave Tutorial) 5.1 基本操作 5.2 移动数据 5.3 计算数据 5.4 绘图数据 5.5 控制语句:for,while,if语句 5.6 向量化 5.7 工作和提交的编程练习 第2周 四、多变量线性回归(Linear Regression with Multiple Variables) 4.1 多维特征 参考视频: 4 - 1 - Multiple Features (8 min).mkv 目前为止,我们探讨了单变量/特征的回归模型,现在我们对房价模型增加更多的特征,例如房间数楼层等,构成一个含有多个变量的模型,模型中的特征为 \(\left( {x_{1}},{x_{1}},...,{x_{n}} \right)\) 。 增添更多特征后,我们引入一系列新的注释: \(n\) 代表特征的数量 \({x^{\left( i \right)}}\) 代表第 \(i\) 个训练实例,是特征矩阵中的第i行,是一个向量(vector)。 比方说,上图的

Centering polar plot [closed]

自闭症网瘾萝莉.ら 提交于 2020-02-26 04:13:29
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 7 days ago . I am trying to transform sine wave to circle in the polar plot so the circle was in the center of the polar plot in Octave and I would like to ask you for help. clc clear all x=0:0.01:2*pi; y=sin(x); subplot(3,1,1) plot(x,y) grid subplot(3,1,2) polar(x,y) theta=0:0.1:2*pi; rho=ones(size(theta));

Centering polar plot [closed]

人盡茶涼 提交于 2020-02-26 04:13:25
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 7 days ago . I am trying to transform sine wave to circle in the polar plot so the circle was in the center of the polar plot in Octave and I would like to ask you for help. clc clear all x=0:0.01:2*pi; y=sin(x); subplot(3,1,1) plot(x,y) grid subplot(3,1,2) polar(x,y) theta=0:0.1:2*pi; rho=ones(size(theta));

Problems plotting with Octave

删除回忆录丶 提交于 2020-01-24 17:27:29
问题 I've just started using Octave. When I start octave and try to plot something, the plot works but I get the following warnings repeated many times: warning: ft_render: unable to load appropriate font warning: ft_render: invalid bounding box, cannot render More warnings appear if I click and drag the plot or even mouse-over it. If I then try to add an xlabel or title, I get a segfault and octave quits. The default graphics_toolkit is fltk, which I found by starting octave and running graphics

Efficient way of making checkers from connected components

℡╲_俬逩灬. 提交于 2020-01-24 15:29:16
问题 I have a binary image of several connected components, some large and some small (maybe only 1 pixel). With this I am seeking a way to make each connected component into a checkers pattern, instead of the connected blobs, in an efficient way. So far I have come up with two ways this could be tried, but they can either produce errors, or be quite unefficient: I know the entire image and can make a checkers pattern mask to remove 50% of the pixels. This is very fast, but will on average remove

Efficient way of making checkers from connected components

北慕城南 提交于 2020-01-24 15:28:43
问题 I have a binary image of several connected components, some large and some small (maybe only 1 pixel). With this I am seeking a way to make each connected component into a checkers pattern, instead of the connected blobs, in an efficient way. So far I have come up with two ways this could be tried, but they can either produce errors, or be quite unefficient: I know the entire image and can make a checkers pattern mask to remove 50% of the pixels. This is very fast, but will on average remove

Efficient way of making checkers from connected components

蓝咒 提交于 2020-01-24 15:28:04
问题 I have a binary image of several connected components, some large and some small (maybe only 1 pixel). With this I am seeking a way to make each connected component into a checkers pattern, instead of the connected blobs, in an efficient way. So far I have come up with two ways this could be tried, but they can either produce errors, or be quite unefficient: I know the entire image and can make a checkers pattern mask to remove 50% of the pixels. This is very fast, but will on average remove