필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Different results from Matlab and Simulink from a same Iteration process

조회 수: 1 (최근 30일)
Hossein
Hossein 2014년 7월 25일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi eveyone,
I'm trying to solve a PDE in Simulink which is already done by me in MATLAB code through the double-iteration for two unknowns in this PDE. The problem is that i'm facing two problems by Simulink although i use the exact same process in a MATLAB-fcn block placed in a enabled subsystem block (in order to cut the process as soon as the iteration goal is achieved). The problems are followings:
  1. for the first parameter the model in simulink results a quite different value. By the iteration in pure Matlab code the answer is somehow between -1 and 1 (negativ values included which are correct) but in Simulink results the iteration leads to only positive result between 0 and 2.
  2. the iteration for second parameter fails by simulink and there is no convergence.
Here should be remind that the aimed result is in Matrix-form. I would be glad if some one can tell me what is the problem and why i am recieving different results from this two processes?
thanks.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by