photo

Left Terry


Last seen: 1 jour il y a Actif depuis 2021

Followers: 0   Following: 0

Statistiques

  • Thankful Level 3
  • Thankful Level 2

Afficher les badges

Feeds

Afficher par

Question


Saving both code and results to a word file or a pdf file
Hi. Is there a way to save to a word or to a pdf file the code and its results at once ? The publish option gives an error becau...

3 jours il y a | 1 réponse | 0

1

réponse

Question


Numerical integration (Trapezoid, Simpson, Gauss)
Hello again. I have to evaluate the integral of the function exp(x^2) from 0 to 2 using the following methods: composite trapezo...

4 jours il y a | 1 réponse | 0

1

réponse

Question


Numerical differentiation and integration
Hello. Programmming is my weakest point and I have a problem regarding numerical analysis. I was given a problem regarding proje...

6 jours il y a | 1 réponse | 0

1

réponse

Question


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

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 3 ans il y a | 1 réponse | 1

1

réponse