sund0002

34 Reputation

5 Badges

14 years, 270 days

MaplePrimes Activity


These are replies submitted by sund0002

import_data_and_extr.mw   @epostma 

 

thanks, i tried what you said. and code attached. why when i try to obtained an array with two columns, it did not give me the pattern like you have " Data:=[[specfic values]....]]?"

even with Fit, it gives the same outcome.

does it has anything to do with my input mode?import_data_and_extr.mw 

import_data_and_extr.mw   @epostma 

 

thanks, i tried what you said. and code attached. why when i try to obtained an array with two columns, it did not give me the pattern like you have " Data:=[[specfic values]....]]?"

even with Fit, it gives the same outcome.

does it has anything to do with my input mode?import_data_and_extr.mw 

plot_and_fit.mw

thanks for your help, it worked after converting to 1-D math. next step i am trying to plot the data and get a nonlinear fit for the data.

 

I used the following code:

pp := pointplot(X, Y, symbolsize = 25, color = blue);

ans1 := NonlinearFit(a*x^n+b*x+c, X, Y, x);

p1:=plot(asw1,x=0..10):

 

however, it did not return to me the plot, nor the fitted function.(see attached)plot_and_fit.mw

Don't know what is wrong. sorry i do need instruction for single steps....

 

plot_and_fit.mw

thanks for your help, it worked after converting to 1-D math. next step i am trying to plot the data and get a nonlinear fit for the data.

 

I used the following code:

pp := pointplot(X, Y, symbolsize = 25, color = blue);

ans1 := NonlinearFit(a*x^n+b*x+c, X, Y, x);

p1:=plot(asw1,x=0..10):

 

however, it did not return to me the plot, nor the fitted function.(see attached)plot_and_fit.mw

Don't know what is wrong. sorry i do need instruction for single steps....

 

i only pasted a small portion of data, however, how do i use long columns of x amd y data saved in an excel file? i cannot type, there are hundreds of them. thanks.

i only pasted a small portion of data, however, how do i use long columns of x amd y data saved in an excel file? i cannot type, there are hundreds of them. thanks.

i hope you could kindly tackle the problem i had.

Download error.mw

see title

i was trying to copy new data and replace the data in the bracket in the x vector, but it keeps returning error. what shall i do?

i was trying to copy new data and replace the data in the bracket in the x vector, but it keeps returning error. what shall i do?

sorry, X Y were out of alignment in the previous thread. X is:

 

5.27E-01
1.05E+00
1.58E+00
2.11E+00
2.63E+00
3.16E+00
3.68E+00
4.21E+00
4.74E+00
5.26E+00
5.79E+00
6.32E+00
6.84E+00
7.37E+00
7.89E+00
8.42E+00
8.95E+00
9.47E+00
1.00E+01

 

Y is:

6.43E-06
1.51E-05
2.57E-05
3.74E-05
5.08E-05
6.65E-05
8.55E-05
1.21E-04
1.63E-04
2.21E-04
2.97E-04
3.92E-04
5.09E-04
6.51E-04
8.20E-04
1.07E-03
1.30E-03
1.55E-03
1.83E-03

 

sorry, X Y were out of alignment in the previous thread. X is:

 

5.27E-01
1.05E+00
1.58E+00
2.11E+00
2.63E+00
3.16E+00
3.68E+00
4.21E+00
4.74E+00
5.26E+00
5.79E+00
6.32E+00
6.84E+00
7.37E+00
7.89E+00
8.42E+00
8.95E+00
9.47E+00
1.00E+01

 

Y is:

6.43E-06
1.51E-05
2.57E-05
3.74E-05
5.08E-05
6.65E-05
8.55E-05
1.21E-04
1.63E-04
2.21E-04
2.97E-04
3.92E-04
5.09E-04
6.51E-04
8.20E-04
1.07E-03
1.30E-03
1.55E-03
1.83E-03

 

1 2 Page 2 of 2