Community Profile

photo

Left Terry


Last seen: 대략 2년 전 2021년부터 활동

Followers: 0   Following: 0

통계

  • Thankful Level 3
  • Thankful Level 2

배지 보기

Feeds

보기 기준

질문


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

답변