Community Profile

photo

Left Terry


Last seen: 約2年 前 2021 年からアクティブ

統計

  • Thankful Level 3
  • Thankful Level 2

バッジを表示

Content Feed

表示方法

質問


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...

約2年 前 | 1 件の回答 | 0

1

回答

質問


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...

約2年 前 | 1 件の回答 | 0

1

回答

質問


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? ...

2年以上 前 | 1 件の回答 | 0

1

回答

質問


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...

2年以上 前 | 1 件の回答 | 0

1

回答

質問


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 ==...

2年以上 前 | 1 件の回答 | 0

1

回答

質問


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...

2年以上 前 | 1 件の回答 | 1

1

回答