Community Profile

photo

Yen Tien Yap


Last seen: 9 days ago Active since 2021

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


Curve fitting a power law function
%% Polyacrylamide solution curve fitting analysis rho=1000; %[kg/m^3] alpha=15; %[deg] R=1.2*10^-3; %[m] L=1.1; %[m] D=10*...

2 months ago | 1 answer | 0

1

answer

Question


Plots with different colors
Hi, I want to create the scatter plot with three different colours represents three different regions. I think something wrong w...

3 months ago | 1 answer | 0

1

answer

Question


Best fit line in log-log scale
Hi, I want to create a straight best fit line in the first portion of the graph and I don't want a curve best fit line, what sho...

3 months ago | 1 answer | 0

1

answer

Question


How to get rid of for loop?
Hi, may I know how to get rid of the for loop by using logical indexing? Thnak you. function [x_vals,y_vals,I,A]=monte_carlo_...

5 months ago | 1 answer | 0

1

answer

Question


How to find prime numbers between two inputs?
Hello, How can I create a column vector with all prime numbers between two outputs? Eg. [10,100] and [200,20]. The two outputs ...

7 months ago | 1 answer | 0

1

answer

Question


How to find the exact answer of an exponential equation?
syms t solve(exp(-0.04*t)+exp(-0.12*t)==1,t) I got the answer for this but I don't understand what it meant? I need a time ...

8 months ago | 2 answers | 0

2

answers

Question


How can I use while loops to determine if an element is larger than the element below it and store the results in a vector with 1 representing true and 0 representing false?
I coded for my while loop but I can't get the final answer and the error showed that 'Array indices must be positive integers or...

8 months ago | 2 answers | 0

2

answers