In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
matlab how to achieve the figure, partial enlargement, many novices are not very clear about this, in order to help you solve this problem, the following small series will be explained in detail for everyone, there are people who need this to learn, I hope you can harvest.
In mathematics, a Weierstrass function is a class of real-valued functions that are everywhere continuous and everywhere non-differentiable. This function is named after its discoverer Karl Weierstrass. [1]
Historically, Weierstrass function is a famous mathematical counterexample. Until then, mathematicians believed that a continuous function was differentiable at every point except a few special points. Weierstrass function is the first function which is continuous and non-differentiable everywhere, which explains the existence of so-called "ill-conditioned" function and changes the view of mathematicians on continuous function at that time, which has important significance.
clear all;clc;close alllambda =5;H= 0.5;N=10000;[t, WCF] = Generate_WCF(lambda, H, N)figureh= plot(t,WCF,'b','linewidth',1);hold onxlabel('t')ylabel('y')grid onhold on
h= plot(t(end-3000:end),WCF(end-3000:end),'r','linewidth',1);h=fill([0 1 1 0],[ 1 1 4 4],'g')h.FaceAlpha=0.1
h=fill([0 1 1 0],[ 1 1 -1 -1],'b')h.FaceAlpha=0.1
set(gca,'linewidth', 0.8,' fontsize', 14)axis([0,1 -1 4])title ('original ')
axes ('position ',[0.28 0.538 0.568 0.31])h= plot(t(end-3000:end),WCF(end-3000:end),' r','linewidth', 1);set(gca,' linewidth', 0.8,'fontsize', 10)title ('detail enlarged')
function [t, WCF] = Generate_WCF( lambda, H, N)
t = linspace(0,1,N); %N samples. Kmax = 10;aux = NaN(1,Kmax);aux2 = NaN(Kmax,N);for k = 1:Kmax aux(k) = lambda^((-1)*(k*H)); aux2(k,:) = aux(k).* cos(2*pi*(lambda^k)*t);endWCF = sum(aux2);end
Did reading the above help you? If you still want to have further understanding of related knowledge or read more related articles, please pay attention to the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.