Matlab - convert vector to discrete function
显示 更早的评论
How can I convert a vector of real numbers to a discrete function dependent on other vector of real numbers:
U(i); i=1,2,3... ---> U(x); x=[0.01,0.003,0.0036...]
*The desired function is the function I get from: >>plot(x,U); *The final goal is to integrate : U(j+1)=integral(U(x)*5^.x,-0.05,0.05);
1 个评论
Babak
2012-9-5
How come the first U has inputs of integer numbers but the second U has input of x? I mean what's the relation between x and i? You also need to mention what U is where is came from...
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Numerical Integration and Differentiation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!