figure(1)Title(sprintf('Weibull Fitting:%s --- %s%4.2f,%s%4.
来源:学生作业帮 编辑:灵鹊做题网作业帮 分类:综合作业 时间:2024/05/01 13:20:46
figure(1)
Title(sprintf('Weibull Fitting:%s --- %s%4.2f,%s%4.2f (m/s)','y=(k/c)*(x/c)^(k-1)*exp(-(x/c)^k)','k = ',Wbl_Para.a,'c = ',Wbl_Para.b)); grid on;
为什么要用sprintf,这个命令在这里的具体含义能解释一下吗?
Title(sprintf('Weibull Fitting:%s --- %s%4.2f,%s%4.2f (m/s)','y=(k/c)*(x/c)^(k-1)*exp(-(x/c)^k)','k = ',Wbl_Para.a,'c = ',Wbl_Para.b)); grid on;
为什么要用sprintf,这个命令在这里的具体含义能解释一下吗?
1,figure是用来建立一个新的图像窗口;
2,Title是设置图像的名字的,Title(***),里面参数应该是字符串.但是如果利用一般字符串的话,就是固定的了,例如“a map”之类的.sprintf()函数返回的也是字符串,所以可以作为参数.另外,其中可以加入变量,从而对于不同情况下,输出不同的标题.
3,sprintf()函数,在C语言里面的也有,就是写一个东西到某个内存区域中.%s --- %s%4.2f,%s%4.2f 是格式控制符,想必你也一定知道的.
有些啰嗦了,
2,Title是设置图像的名字的,Title(***),里面参数应该是字符串.但是如果利用一般字符串的话,就是固定的了,例如“a map”之类的.sprintf()函数返回的也是字符串,所以可以作为参数.另外,其中可以加入变量,从而对于不同情况下,输出不同的标题.
3,sprintf()函数,在C语言里面的也有,就是写一个东西到某个内存区域中.%s --- %s%4.2f,%s%4.2f 是格式控制符,想必你也一定知道的.
有些啰嗦了,
figure(1)Title(sprintf('Weibull Fitting:%s --- %s%4.2f,%s%4.
这个state’s title,
five people won the china,s green figure award,a title( )to
sprintf(buffer,"Welcome %s to ",inet_ntoa(addclient.sin_addr
英语翻译China`s Green Figure
sprintf(s, "%d,", a);谁能帮我解释下"%d,"中的逗号是什么个意思
the working title的《P.S.》 歌词
s()()()()()()s n()()()()()()()s p()()()()()s c()()()()()s f(
What's the best title of this passage?
65.What’s the best title of the passage?
What’s the best title of this article
What is the best title for the passage?A.S