How can I write a matlab code for the below mentioned expression?
Show older comments

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 Comment
Shashank Sharma
on 4 Jul 2019
What is
and
in the above equation ?
Accepted Answer
More Answers (0)
Categories
Find more on Performance and Memory in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!