24小时热门版块排行榜    

CyRhmU.jpeg
查看: 2158  |  回复: 13
本帖产生 1 个 计算强帖 ,点击这里进行查看
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

wodemiss

铁虫 (小有名气)

[求助] 如何用软件画出这个方程的图形

非常紧急,已知一个方程z=0.0000344*(x^0.9696)*(y^2.0685)-0.0306请问如何画出这个方程的图形。
我用matlab不怎么会用。
在线急等,我金币就3个了,希望大家帮帮我
回复此楼
一蓑烟雨任平生
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

dbb627

荣誉版主 (著名写手)

【答案】应助回帖

★ ★ ★ ★ ★
感谢参与,应助指数 +1
wodemiss: 金币+3, ★★★很有帮助 2012-04-27 10:32:10
cenwanglai: 金币+2, ~~ 2012-04-27 16:56:44
matlab画曲面
ezmesh('0.0000344*(x^0.9696)*(y^2.0685)-0.0306')
The more you learn, the more you know, the more you know, and the more you forget. The more you forget, the less you know. So why bother to learn.
2楼2012-04-26 21:19:07
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

dbb627

荣誉版主 (著名写手)

引用回帖:
4楼: Originally posted by wodemiss at 2012-04-27 10:35:38:
非常感谢,还有个问题,我已知这个方程,没有未知参数,我怎么得到就像用未知参数拟合一些数据点那样的各个拟合评价参数,如R2,X2,等等,请问有工具可以得到吗?就像上面这个方程,我知道在x=10和y=10的情况下 ...

这个就是参数拟合,用非线性拟合nlinfit就可以
The more you learn, the more you know, the more you know, and the more you forget. The more you forget, the less you know. So why bother to learn.
6楼2012-04-27 11:47:46
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

dbb627

荣誉版主 (著名写手)

【答案】应助回帖

cenwanglai: 计算强帖+1, 应助指数+1, 感谢回复 2012-04-29 20:37:21
引用回帖:
8楼: Originally posted by wodemiss at 2012-04-27 18:33:06:
我上面说的情况可以实现吗,我是生物类得硕士,对这个不是很懂,但是今天要交报告了,需要这个数据,请问能做出来吗,非常感谢!!!

>> x=[0 10 20 35 50]';y=[1 0.6346 0.3846 0.1987 0.1282]';
st_ = [0.1];
ft_ = fittype('exp(-a*x)','dependent',{'y'},'independent',{'x'},'coefficients',{'a'});
[cf_,good]= fit(x,y,ft_ ,'Startpoint',st_),figure;
h_ = plot(cf_,'fit',0.95);
legend off;  % turn off legend from plot method call
set(h_(1),'Color',[1 0 0],...
     'LineStyle','-', 'LineWidth',2,...
     'Marker','none', 'MarkerSize',6);
hold on,plot(x,y,'*')
========================
结果
cf_ =

     General model:
     cf_(x) = exp(-a*x)
     Coefficients (with 95% confidence bounds):
       a =     0.04576  (0.04252, 0.049)

good =

           sse: 9.7683e-004
       rsquare: 0.9981
           dfe: 4
    adjrsquare: 0.9981
          rmse: 0.0156
The more you learn, the more you know, the more you know, and the more you forget. The more you forget, the less you know. So why bother to learn.
9楼2012-04-27 19:25:15
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

dbb627

荣誉版主 (著名写手)

引用回帖:
10楼: Originally posted by wodemiss at 2012-04-27 20:02:16:
非常感谢,但是我现在想如果我知道a是0.043,那么能计算出这个y=exp(-0.043x)曲线与实验数据的各种评价参数吗?唉,还是不很懂。谢谢

可以吗,利用SSE和R^2的相关公式计算。
The more you learn, the more you know, the more you know, and the more you forget. The more you forget, the less you know. So why bother to learn.
11楼2012-04-27 20:06:56
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 wodemiss 的主题更新
信息提示
请填处理意见