Jack Luong
unread,May 1, 2023, 5:34:29 PM5/1/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to chebfun-users
Hi everyone,
I want to acquire a matrix representation of a differential operator (for example, D^4 on domain [0,1]) with boundary conditions baked in (u(0,t) = 0, u_x(0,t) + u_xxx(0,t) = c, u_x(1,t) = 0, u_xxx(1,t) = 0)) using Chebychev interpolation. Unfortunately, I need the actual matrix that defines this instead of using a chebop. A few questions:
1. Is there a way to define a chebop and obtain the matrix representation of this chebop?
2. To construct the matrix representation of D^4 using chebfun matrix commands like diffmat and diffrow, my understanding is we have N points we should define a diffmat on N points but replace the first two and last two rows with specially defined rules to take care of the boundary conditions. What rows should replace the lines that correspond to the Neumann boundary condition?
Thanks,
Jack