How to put this 4 each one in a different function that i will call it in my script
    2 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
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);
0 comentarios
Respuestas (1)
  Sindhu Karri
    
 el 3 de Mayo de 2021
        
      Editada: Sindhu Karri
    
 el 3 de Mayo de 2021
  
      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 comentarios
Ver también
Categorías
				Más información sobre Startup and Shutdown en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

