MATLAB Answers

How to put this 4 each one in a different function that i will call it in my script

조회 수: 2(최근 30일)
Chris ch
Chris ch 2021년 4월 30일
편집: Chris ch 2021년 5월 6일
close all
clear
n = input('Give the number of nodes = '); %nodes
w = 1; %with
h = 1; %height
x = linspace(0,w,n);
y = linspace(0,h,n);

답변(1개)

Sindhu Karri
Sindhu Karri 2021년 5월 3일
편집: Sindhu Karri 2021년 5월 3일
Hii,
I have attached the files containing the boundary functions and the main script calling those function.Hope this helps you in understanding the usage of functions in MATLAB.Make sure the boundary function .m files are included in current folder path in MATLAB.
Refer to below link for better understanding:
  댓글 수: 2

댓글을 달려면 로그인하십시오.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by