关于matlab的问题

来源:百度知道 编辑:UC知道 时间:2024/05/10 23:04:35
那位懂matlab的啊
帮个忙
说一下原因啊
syms x a b c
f=a*x^3+x^2-b*x-c
y1=diff(f)
y2=diff(f,a)
y3=diff(f,2)
y4=diff(f,a,2)
上面那段东西是我在书抄的
可是运行的时候却不行啊
Segmentation violation detected at Fri Jan 12 15:13:55 2007
------------------------------------------------------------------------

Configuration:
MATLAB Version: 6.5.0.180913a (R13)
Operating System: Microsoft Windows XP
Window System: Version 5.1 (Build 2600: Service Pack 2)
Processor ID: x86 Family 15 Model 4 Stepping 1, GenuineIntel
Virtual Machine: Java 1.3.1_01 with Sun Microsystems Inc. Java HotSpot(TM) Client VM
(mixed mode)

Register State:
EAX = 0000047b EBX = 0000047b
ECX = 00df9254 EDX = 23a70785
ESI = 23a70784 EDI = 00000000
EBP = 0000047b ESP = 00df928c
EIP = 239624f9 FLG = 00010206

Stack Trace:

This error was detected while a MEX-file was running. If the MEX-file
is not an

首先我要批评你 你应该去自动化区提问题 哈哈
其次,
看起来是你matlab的软件安装得不够完整,丢失了一些数据链接库。
~~
就这样 问导师是最快的方法!

的确是Matlab安装不完整,在我机器上运行就没有问题