photo

Left Terry


Last seen: 8개월 전 2021년부터 활동

Followers: 0   Following: 0

메시지

Programming Languages:
MATLAB
Spoken Languages:
English

통계

MATLAB Answers

22 질문
0 답변

순위
18,832
of 300,753

평판
2

참여
22 질문
0 답변

답변 채택
81.82%

획득한 표
2

순위
 of 21,075

평판
N/A

평균 평점
0.00

참여
0 파일

다운로드 수
0

ALL TIME 다운로드 수
0

순위

of 170,858

참여
0 문제
0 답안

점수
0

배지 수
0

참여
0 게시물

참여
0 공개 채널

평균 평점

참여
0 하이라이트

평균 좋아요 수

  • Thankful Level 3
  • Thankful Level 2

배지 보기

Feeds

보기 기준

질문


Alligning the output using fprintf
Hello. I would like to allign the output of I, B, H and mu on the right side but i have no idea how to do it. If anyone can help...

11개월 전 | 답변 수: 1 | 0

1

답변

질문


Avoiding -0.0000 as an output
Hello. I have the following script for differentiation and for some functions (e.g. f(x) = x) I get f'''(1) and f''''(1) equal t...

11개월 전 | 답변 수: 1 | 0

1

답변

질문


Monte Carlo integration (hit or miss) to find the area of a circle of radius R
Hi everyone. Trying to solve an old exam topic regarding Monte Carlo integration, I wrote the following code for which I based i...

11개월 전 | 답변 수: 1 | 0

1

답변

질문


Integral command doesn't work inside the for loop
Hello. I have this simple code trying to compare analytical solution of few functions with two numerical methods. I used for loo...

12개월 전 | 답변 수: 1 | 0

1

답변

질문


Storing while loop results in an array and plotting
Hello, I have this simple code simulating free fall. The while loop works fine in the first case but i need to plot the results....

12개월 전 | 답변 수: 1 | 0

1

답변

질문


4th order Runge - Kutta vs. 4th order Predictor - Corrector
Hello once again. As we can see, the error of the 4th order predictor - corrector (assuminig my code for this is correct) is gre...

12개월 전 | 답변 수: 2 | 0

2

답변

질문


Runge - kutta 4th order method for two different steps
Why is h = 0.5 worst than h = 1 in my code ? I can't find where i am wrong. clc, clear all, close all, format long f = @(x,y...

12개월 전 | 답변 수: 1 | 0

1

답변

질문


Improved Euler's method compared to 4th order Runge - Kutta's method
Is the improved Euler's method as good as the 4th order Runge - Kutta's method ? Or is it the step h that makes it almost not di...

12개월 전 | 답변 수: 1 | 0

1

답변

질문


Fixing a plot to show a horizontal line instead of a point
Hello. First of all I don't know if my code is correct for the specific task, especially for the error calculations. My problem ...

12개월 전 | 답변 수: 1 | 0

1

답변

질문


Superscripts and subscripts in fprintf
Is it possible to display text with subscripts using fprintf in R2016a ? I would like to change Nmax. fprintf('\nMaximum value ...

12개월 전 | 답변 수: 3 | 1

3

답변

질문


How to avoid the warnings on my code
Hello. I have the following code and i get a few warnings. How do i fix this problem ? (I used this warning('off','all') warnin...

12개월 전 | 답변 수: 1 | 0

1

답변

질문


Infinite while loop for Euler's method in order to solve ode
I am trying to solve an ode with Euler's method using while loop but i get into an infinite loop for my ymax value. If i change ...

12개월 전 | 답변 수: 1 | 0

1

답변

질문


Plot titles in subplots for various initial conditions
Hello. I have this code below and i need to put the four different values of y0 in each subplot title. How do i do this ? Is it ...

12개월 전 | 답변 수: 2 | 0

2

답변

질문


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

대략 1년 전 | 답변 수: 1 | 0

1

답변

질문


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

대략 1년 전 | 답변 수: 1 | 0

1

답변

질문


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

대략 1년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 4년 전 | 답변 수: 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...

거의 4년 전 | 답변 수: 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? ...

대략 4년 전 | 답변 수: 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...

대략 4년 전 | 답변 수: 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 ==...

대략 4년 전 | 답변 수: 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...

4년 초과 전 | 답변 수: 1 | 1

1

답변