普通会员

rong

此用户很神秘,没有留下任何信息

4帖子
1回复
263积分
ID:000199
厦门大学
examples/plugins/fftEx1.m 的问题

示例代码中这一段

% p(x) = a0+a1*x + ... +a7 *x
a=0:n-1;
......
disp(f(1) - s )

包括代码和注释似乎都有问题,估计是从多项式拟合的示例中复制过来忘记更改了,请更正。


Version:3.01

1 2023-10-26
如何Tab自动补全加载插件中的引入的函数名

加载插件后,插件中的函数似乎不能Tab自动补全

例如加载fft插件后,输入f然后tab就无法补全fft

有无办法解决?

1 2023-10-26
虚拟机上plot函数闪退问题


版本3.1.3_win_x86_64,在win10虚拟机上只要调用了plot函数画图就会闪退。

3 2024-02-27
switch

版本:3.1.3

运行以下示例:

c = input('Please enter a case: ');


switch c

    case 0

         disp('This is the first case.')

    case 1

         disp('Output result is 1')

    case 2

        A = rand(3)

    otherwise

        disp('Other calculation expressions')

end


执行出现以下错误提示:

Please enter a case: 1

ans =

   1

错误使用函数 disp
输出参数过多。

错误位于文件 C:\Users...\switch_demo.m (第 7 行)
        disp('Output result is 1')
程序执行中显示有错误信息,请反馈给开发团队。


在命令行使用disp函数是正常的

1 2024-03-06