Community Profile

photo

Sachin Hegde


Last seen: 4 maanden ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • First Answer

View badges

Feeds

View by

Question


How to get rows with all similar columns and adjust matrix with shorter length to that of longer length
Hello, I have two example arrays here (Time vectors in format [Y M D H M S]) as follows (my original data has 73200 sample poin...

7 maanden ago | 1 answer | 0

1

answer

Answered
System of PDE-ODE with multi point boundary conditions- How to can i solve it?
x1 = [x1;xg(1,1)]; This line includes actual interface point x1(end) when i say numel(x1)-1 right? Also in your code, i do not...

9 maanden ago | 0

Answered
System of PDE-ODE with multi point boundary conditions- How to can i solve it?
Thank you, now i understand. I have one last question on your solution. How did you descretize the PDE? I usually use FDM for se...

9 maanden ago | 0

Answered
System of PDE-ODE with multi point boundary conditions- How to can i solve it?
Hi Torsten, in your sample code, i am not able to understand what you did for a11,a12,b1,a21,a22 and b2. Could you please elabor...

9 maanden ago | 0

Question


System of PDE-ODE with multi point boundary conditions- How to can i solve it?
I have attached a pdf which includes the system i am trying to solve. To summerise, it is a system of PDEs and ODEs. The system ...

9 maanden ago | 1 answer | 0

1

answer

Answered
Splitting numbers of vector in multiple parts
V= [2022024 2023074 2022044 2023014 2023054]; V = num2str(V); tkn = regexp(V,'(\d+)(\d{3})','tokens'); V_split = str2double(v...

9 maanden ago | 0

Question


How to solve coupled systems of PDEs and ODEs using method of lines
I want to develop an 1D model for PEM fuel cell which includes several PDEs and ODEs. I have read that, it is possible to solve ...

9 maanden ago | 1 answer | 0

1

answer

Question


How to smooth a curve to the lower bound in Matlab
Hi, I have noisy data with some peaks. I want to smoothen the curve but not with a mean. I want to filter to the lower part of t...

12 maanden ago | 2 answers | 0

2

answers

Answered
I tried to run the following MATLAB code, but I face the error say that Index in position 1 exceeds array bounds (must not exceed 1). Error in untitled (line 19)
On the first look, i can see an issue in the line for SP(m,t) which is in the if loop. In that line you have used on the right...

ongeveer een jaar ago | 0

Question


How to pass an array into the initial condition function while using pdepe
I have a PDE which is solved using pdepe. However after the solution (1xn array) is achieved, i perform some other calculation a...

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


How to solve a PDE where the boundary condition is an spatial ODE
I have a PDE which i need to solve to get both the spatial and time related results. However i am confused as to how to pose the...

ongeveer een jaar ago | 1 answer | 0

1

answer

Answered
Derivative of state '1' in block 'X/Y/Integrator' at time 4327.21 is not finite
I found a solution for my problem. I just changed the solver to 'OdeN (Nonadaptive)' and it worked. Simulation > Model Settin...

meer dan 2 jaar ago | 0

| accepted

Answered
Are MathWorks products compatible with Windows 11?
I have windows 11 and i use Matlab 2021a. I use mostly only simulink, simscape and matlab and all of them work perfectly fine. I...

meer dan 2 jaar ago | 2

Question


Derivative of state '1' in block 'X/Y/Integrator' at time 4327.21 is not finite
An error occurred while running the simulation and the simulation was terminated Caused by: Derivative of state '1' in block 'X/...

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


Error in port widths or dimensions. 'Output Port 1' and Error in port widths or dimensions. Invalid dimension has been specified for 'Input Port 5'
I am getting these two errors : Error in port widths or dimensions. 'Output Port 1' and Error in port widths or dimensions. Inv...

meer dan 2 jaar ago | 1 answer | 0

1

answer