What does the tilde (~) in the following code mean?
32 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Antoine Mora
el 19 de Sept. de 2017
Editada: James Tursa
el 20 de Sept. de 2017
function T= TempStefBoltz_3(~)
sig = 5.67e-8; %W/m^2K^4
E =6000; %W/m^2
x=E/sig;
t=nthroot(x,4); %K
T=round(t); %K
end
0 comentarios
Respuesta aceptada
James Tursa
el 19 de Sept. de 2017
Editada: James Tursa
el 20 de Sept. de 2017
It's syntax that means to ignore the input argument, if there is one. That is, you can call the function with no input arguments or one input argument (ignored).
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Logical 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!