Probelm with modeling a triangle

  • Thread starter Thread starter tomallan
  • Start date Start date
  • Tags Tags
    Modeling Triangle
AI Thread Summary
The discussion revolves around difficulties in modeling a triangle within a square cell using MATLAB, specifically focusing on issues in the second half of the triangle's code. The user suspects that the problems may stem from logical errors or over-definition in their programming. They highlight that the problematic section of the code is between -s/2 to s/2. Additional context about the square cell's dimensions is provided, and the user has attached relevant code and analysis for review. The request for hints on correcting the logic or definitions indicates a need for collaborative troubleshooting.
tomallan
Messages
20
Reaction score
0
Hi,
i am trying to model a triangle in a square cell based on its dimension. However, i have some problem with parts of the code, i think it might be the logic behind my programming or over definition with the code itself.

i have attached the code. the problem lies with the second half of the triangle. I have also attached the basis of my analysis. the problem lies between -s/2 to s/2 of the code. Any hints about the wrong logic of my code or over definition will be appreciated. the cell is a square dimension with 2r1x2r1 dimension.

I have attached the MATLAB code and the definition of the cell if you are interested.
 

Attachments

  • triangle_90_deg_surface_step_bottom.m
    triangle_90_deg_surface_step_bottom.m
    7.3 KB · Views: 521
  • 20140901_011337158_iOS.jpg
    20140901_011337158_iOS.jpg
    25.5 KB · Views: 477
Mathematics news on Phys.org
I'm sorry you are not finding help at the moment. Is there any additional information you can share with us?
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...

Similar threads

Replies
11
Views
2K
Replies
1
Views
2K
Replies
6
Views
2K
Replies
1
Views
1K
Replies
11
Views
3K
Replies
1
Views
3K
Replies
1
Views
2K
Back
Top