matlab中triangle函数用法,matlabtriangle函数格式

更新时间:2023-07-10 01:28:35 阅读: 评论:0

目前贷款利率
matlab中triangle函数⽤法,matlabtriangle函数格式放任是什么意思
匿名⽤户
1级
2016-07-27 回答
pulstran(t,d,p,fs,w)其中t是时间,d为函数偏移(如y = func(t-d(1)) + func(t-d(2)) + ... );p是函数类型,'gauspuls',表⽰⾼斯类
高跟鞋排名型,'tripuls'表⽰三⾓类型;fs表⽰频次;w表⽰带宽。
官⽅解释:
宿舍检讨pulstran generates pultrains from continuous functions or sampled prototype puls.
y = pulstran(t,d,'func') generatesa pul train bad on samples of a continuous function, 'func',where 'func' is
'gauspuls', for generating a Gaussian-modulatedsinusoidal pul
'rectpuls', for generating a sampledaperiodic rectangle
胡亥怎么死的
伊蒂之屋'tripuls', for generating a sampledaperiodic triangle
pulstran is evaluated length(d) timesand returns the sum of the evaluations y = func(t-d(1)) + func(t-d(2)) + ...科比壁纸
The function is evaluated over the range of argument valuesspecified in array t, after removinga scalar argument offt taken from the vector d.Note that func must be a vectorized functionthat can take an array t as an argument.
An optional gain factor may be applied to each delayed evaluationby specifying d as a two-column matrix, with theofft defined in column 1 and associated gain incolumn 2 of d. Note that a row vector will be interpretedas specifying delays only.
pulstran(t,d,'func',p1,p2,...) allowsadditional parameters to be pasd to 'func' asnecessary. For example:
func(t-d(1),p1,p2,...) + func(t-d(2),p1,p2,...) + ...
pulstran(t,d,p,fs) generatesa pul train that is the sum of multiple delayed interpolations ofthe prototype pul in vector p, sampled at therate fs, where p spansthe time interval [0,(length(p)-1)/fs], and itssamples are identically 0 outside this interval.By default, linear interpolation is ud for generating delays.
pulstran(t,d,p) assumesthat the sampling rate fs is equal to 1 Hz.
丧假范围
This example generates a periodic Gaussian pul signal at 10 kHz with 50% bandwidth. The pul repetition frequency is 1 kHz, the sample rate is 50 kHz, and the pul train length is 10 ms. The repetition amplitude should attenuate by 0.8 each time.
调⽤举例:
t = 0 : 1/50e3 : 10e-3;
d = [0 : 1/1e3 : 10e-3 ; 0.8.^(0:10)]';
y = pulstran(t,d,'gauspuls',10e3,0.5);
plot(t,y)

本文发布于:2023-07-10 01:28:35,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/89/1075072.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:函数   贷款   放任
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图