Community Profile

photo

Left Terry


Last seen: alrededor de 2 años hace Con actividad desde 2021

Estadísticas

  • Thankful Level 3
  • Thankful Level 2

Ver insignias

Content Feed

Ver por

Pregunta


Exclusion of inappropriate inputs in a function
In the function below the user must enter only numbers. How can I show a screen message if the user enters letters or other unwa...

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


FEM grid generation with inclined sides
Hello. The following code works properly only for x_i = 0, y_i = 0, theta_x = 0 and theta_y = 0. For any other values of these f...

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Plotting section works for one case and not for the other similar case
Any idea why the plotting section of the code is working for the whole "Type == 1" case and not for the whole "Type == 2" case? ...

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Character exclusion using ischar() in script.
Any idea how to exclude characters from the inputs using ischar() ? Every try I made has failed. I want to show user a message w...

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Pyth. theorem script. Complex numbers exclusion. For the Type==1 when real part is positive the exclusion does not work. Any ideas why? Any idea also for characters exclusion?
clc, clear all Type = input("Give 1 for Hypotenuse or 2 for Vertical : "); % Asking user for Hypotenuse or Vertical if Type ==...

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Why do I get ans = logical 1 or 0 in the command window for the following script?
%Pythagorean Theorem clc, clear all, disp('Pythagorean Theorem Formula c = sqrt(a^2+b^2)') a=input('Enter length a: a = '); b...

más de 2 años hace | 1 respuesta | 1

1

respuesta