필터 지우기
필터 지우기

Info

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

function uses another function and that is used by the first function like a cycle

조회 수: 1 (최근 30일)
Meva
Meva 2014년 11월 6일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi everyone,
I have three functions which using each other in a while loop and for loop. like :
  1. f uses p function which is array
  2. u uses f,
  3. p uses u
  4. and f uses again p (updated)
so it is a cycle. Imagine I have space variable with 101 nodes and time vector. so for each time the program has to solve f,u,p for each space node. They need to be updated to be used inside of other functions..
So how can I locate these three functions?
Regards, Meva
  댓글 수: 3
Meva
Meva 2014년 11월 8일
Hi Geoff Sorry I was unable to touch. u, p functions are array ( 1*101 matrix ).I mean for example every p(i) depends on u(i). Every u(i) depends on f . Every f depends on p(i).
Geoff Hayes
Geoff Hayes 2014년 11월 9일
Meva - please post your code, describing what its current (unexpected) behaviour is and the behaviour that it should exhibit.

답변 (0개)

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

Community Treasure Hunt

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

Start Hunting!

Translated by