photo

Left Terry


Last seen: 6 months 前 自 2021 起处于活动状态

Followers: 0   Following: 0

消息

Programming Languages:
MATLAB
Spoken Languages:
English

统计学

MATLAB Answers

22 个提问
0 个回答

排名
23,058
of 300,364

声誉
2

贡献数
22 个提问
0 个回答

回答接受率
81.82%

收到投票数
2

排名
 of 20,934

声誉
N/A

平均
0.00

贡献数
0 文件

下载次数
0

ALL TIME 下载次数
0

排名

of 168,373

贡献数
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...

9 months 前 | 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...

9 months 前 | 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...

9 months 前 | 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...

10 months 前 | 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....

10 months 前 | 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...

10 months 前 | 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...

10 months 前 | 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...

10 months 前 | 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 ...

10 months 前 | 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 ...

10 months 前 | 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...

10 months 前 | 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 ...

10 months 前 | 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 ...

10 months 前 | 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...

11 months 前 | 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...

11 months 前 | 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...

11 months 前 | 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...

3 years 前 | 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...

3 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 1 个回答 | 1

1

个回答