自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 MATLAB 函数画图h=0.1,0.01,0.001

Exercise:结果呈现:方式:g = colormap(lines);hold on;for i = 1:3 x = 0:power(10,-i):2*pi; y = (exp(-x)) .* (sin((x.^2)/2)); m = diff(y)./diff(x); plot(x(1:end-1),m,'Color',g(i,:));endhold off;set(gca,'YLim',[-0.25,0.25]);set(gca,'..

2021-10-21 21:20:01 1140

原创 MATLAB 解决个小问题|画图横纵坐标全是小方块

The derivatives of f(x) = sin(x)calculated using various h values这把题目比较简单,我直接抄了答案,打算看一眼图:g = colormap(lines);hold on;for i = 1:4 x = 0:power(10,-i):pi; y = sin(x); m = diff(y)./diff(x); plot(x(1:end-1),m,'Color',g(i,:));endhold of

2021-10-20 22:04:07 1620 2

原创 MATLAB 函数画图

Exercise:Plot the polynomialf(x) = (20x^3 - 7x^2 + 5x + 10)(4x^2 +12x - 3)and its derivative for -2<= x <= 1画图结果:实现方式:a = [20 -7 5 10];b = [4 12 -3];c = conv(a,b);x = -2 : 0.1 : 1;d = polyval(c,x);e = polyval(polyder(c),x);hold..

2021-10-17 21:09:39 288

原创 MATLAB Write your own equalization function

Practice:1.Try it,and display it on the screen.

2021-10-16 22:18:57 152

原创 MATLAB GUI program 滑动条A + B加法

Practice:1.It contains 2 sliders each of which is associated with a variable with value ranged from 0 to 1002.Display the summation of the slider variables as integerfunction slider1_Callback(hObject, eventdata, handles)% hObject handle to sli

2021-10-13 20:40:56 918

原创 MATLAB 温度转化

Exercise:1.Write a function that asks for a temperature in degrees Fahrenheit2.Compute the equivalent temperature in degrees Celsius3.Show the converted temperature in degrees Celsius4.The function should keep running until no number is provided to

2021-10-10 18:02:52 934

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除