Feeds
질문
How to use ODE45 to solve finite difference of 2D heat equation PDE ?
Heat equation for a temperature distribution U(t,x,y) on a rectangular plate is given by Ut= D(Uxx + Uyy), 0<x<L, 0<y<W U(0,x...
5년 초과 전 | 답변 수: 0 | 0
0
답변문제를 풀었습니다
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
5년 초과 전
문제를 풀었습니다
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
5년 초과 전
문제를 풀었습니다
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
5년 초과 전
질문
While trying to solve the 2D polar heat equation using semi-discrete finite difference using ode45, I am unable to deal with the singularity at origin(for which I can only think of averaging the previous time step, which is not possible with ode45).
2D Polar Heat Equation: Converting to ODE as , with My Code: %Circular disc 2D Dirichlet BC clear all; clc; close all; a...
5년 초과 전 | 답변 수: 0 | 0
0
답변질문
Unable to accept a vector as parameter in user defined function.
I made a function to add a set of 'n' sine terms as per my algorithm. function inst_amplitude = sincustom(t,[FreqList],[AmpL...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to solve 2D heat equation for a sector of a circular disc using finite difference method?
I am starting off with Dirichlet boundaries. How do I generate a sector of a circular mesh ?
5년 초과 전 | 답변 수: 0 | 0
