フィルターのクリア

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

3 ビュー (過去 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 件のコメント
Chris ch
Chris ch 2021 年 5 月 3 日
I am really thankfull for your answer but i have a problem. When i run this script without the functions my contour plot is okay . When i use the functions the contour plot is going wrong . I dont know the reason
Sindhu Karri
Sindhu Karri 2021 年 5 月 3 日
Can you attach the contour plots in both cases

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGraphics Performance についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by