Andiguys

65 Reputation

5 Badges

1 years, 79 days

MaplePrimes Activity


These are replies submitted by Andiguys

@acer If I want to save etemp instead of stemp in matrix M, what changes do I need to make in syntax to get the contour plot?
I allready made changes as below:

@acer Thankyou for plot.

Can we change x-axis label to Ce from x and y label  to Cv?
what changes to make?

@acer Sorry for not putting all questions altogether.

I have used some code but dont know how to fetch data generated using loop to store ina array then to use in 2D plot?

Also included Kitonum's code for 2D contour plotting.

Attaching sheet: Question_plot_cv.mw

@acer How to fetch data generated using for loop to generate the 2D graph below?

Only 1st 3 colums are needed? how to do that,
like example if data generated is :- 

    80, 1, 1.80074340195803263, delta = 0.0578703702395449, e = 0.161839640102812
                                                           
    80, 2, 1.79160585795803287 , delta = 0.0578703702958708,  e = 0.161839639899066
only first three columns needed to be fetched from every row.

Attaching sheet: Question_plot_cv.mw

2D graph with labe needed: 

@acer Hey i dont know how to give path to the file? How to import the data? or how to give directory?

Error : 

@acer Thank you. As you mentioned i have used for loop to generate the data. 

How do I create a 2D graph with x and y axes, where the z value is displayed along the curve at specific points? (With same data?)

@mmcdara Thankyou for providing KKT condition syntax.

I have now considered only two constraints. As from your syntax lets say i got KKT conditions. 
Now there can be 4 cases, how to find optimal K1 and K2 and mu5 (optimal) if greater than zero and mu6(optimal) if greater than zero, by simultaneously optimizing?

Attaching sheet: s_12.mw

@Carl Love I am getting solution for all values of tau0. There is nothing like showing "No improved solution"

I just need a plot from that results which we obtained by using FOR loop. 

I want continuous plot just connecting all the solution at each points of tau0 given. No need to evaluate on other points. Is it possible?


I am attaching sheet: for_loop_question_rec.mw

@acer Can you help me with 2D graph

@Christian Wolinski Can you explain how to give that constraint to solve it?

 

@Carl Love Its working

@Carl Love 
Attaching sheet: Q_LOOP.mw

Does the plot command should be inserted inside the loop for getting results?

@Carl Love Plot code showing error!

@Carl Love 
Attaching sheet: 
Q_LOOP.mw
 

@Carl Love when i remove end from FOR-loop and only give do its showing error "unterminated for loop"

4 5 6 7 8 9 Page 6 of 9