How can I write a matlab code for the below mentioned expression?
显示 更早的评论

where
ne(a,b) = 0 for (a=b)
= 1 for (a not equal to b)
H(x) is the heavyside function
I have an 1D domain in x and is divided into
no. of cells.
and so on are the cell boundaries with i=1,2......
.
Taking for example
=5, how can I write the code in Matlab so that I get separate expressions for
for i=1,2,3,4,5?
1 个评论
Shashank Sharma
2019-7-4
What is
and
in the above equation ?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Performance and Memory 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!