Question

In: Advanced Math

I would like to know how to plot two graphs in matlab and find where they...

I would like to know how to plot two graphs in matlab and find where they intercept.

Solutions

Expert Solution

For this just I'll write code by taking example so that you can understand

% define x Axis and evaluate functions

x_points = -5:0.1:5;

function1 = -x+1;

function2 = x+1;

index_intersection = find(function1 == function2);

x_value_intersection = x_points(index_intersection);

y_value_intersection = function1(index_intersection);

% plot functions and intersection point:

curve1 = plot(x_points, function1);

hold on

curve2 = plot(x_points, function2);

intersection = plot(x_value_intersection, y_value_intersection,...

'Marker', '+', 'MarkerSize', 6, 'Color', 'r');

For your reference i i attached the code and graph which i have did my desktop

just try this example you can understand

If you have any questions please let me know

Please give me thumb up


Related Solutions

I would like to know what is controlled substance and how should it be wasted? and...
I would like to know what is controlled substance and how should it be wasted? and what is the plan of care for a patient with neuropathic pain? Thank you.
I would like to know some good sources to look up to find answers on what...
I would like to know some good sources to look up to find answers on what fiscal policies have been carried out in the past 2 years, and whether it was pro or counter cyclical.
Hello , I would like to know about these two durgs medication classification, name of common...
Hello , I would like to know about these two durgs medication classification, name of common medication in this classification, major action, common side effects, why client is taking this drug? Is these drugs is working for this client( must include the rational with proof( lab work, charting documentation, what action the nurse take when monitoring the patient? nursing assessment of drug's effectiveness, teaching about medications, important information relating to these drugs on discharge. Drug names are Farxiga, cetirzine Thank...
I would like to know the critical thinking portion of the questions
I would like to know the critical thinking portion of the questions
topic- how food travels through the body I would like to know how a salad, French...
topic- how food travels through the body I would like to know how a salad, French fries or concentrated sweets are digested.  If you were teaching a basic lesson on digestion, how would you describe the digestive process and what does the body do if eating salad or French fries, is there a difference? where hormones and enzyme information begins about how the activities vary depending on the food.   The goal is to understand what happens to the food when the body digests...
I would just like to know if ANOVA would be the correct test to use for...
I would just like to know if ANOVA would be the correct test to use for the following problem below? Fancy Fish, a fine dining upscale restaurant in Northridge, California and 2016 Open Table Diners’ Choice award winner, is enjoying its eighteenth season of providing delectable food, exceptional service, and beautiful outdoor dining experiences. “Saturday - Half-off Bottled Wine Night” has made Fancy Fish one of the San Fernando Valley’s favorite restaurants. Every Saturday night, guests can enjoy half-off every...
Decision Making under uncertainty Hello, I would like to know the steps by steps on how...
Decision Making under uncertainty Hello, I would like to know the steps by steps on how to solve this on excel decision tree, please do not just answer the final result. Thank you Carlisle Tire and Rubber, Inc., is considering expanding production to meet potential increases in the demand for one of its tire products. Carlisle’s alternatives are to construct a new plant, expand the existing plant, or do nothing in the short run. The market for this particular tire...
I would like to know how topoisomerase 1 and 2 works e what is the difference...
I would like to know how topoisomerase 1 and 2 works e what is the difference between negative and positive supercoiling.
Hi, I would like to know how to do this question. Thanks Suppose that basketball (Raptors)...
Hi, I would like to know how to do this question. Thanks Suppose that basketball (Raptors) tickets are $60 each and hockey (Maple Leafs) tickets are $24 each. If you had basketball and hockey tickets such that you would initially trade 2 basketball tickets for each hockey ticket, which tickets would you trade and what would be your equilibrium exchange of basketball for hockey tickets? A) Trade hockey for basketball tickets until you reach 0.4 hockey per basketball tickets B)...
I would like to know how to record this transaction on quickbooks: On 08/01/2017 The company...
I would like to know how to record this transaction on quickbooks: On 08/01/2017 The company purchased from ford motors on account, a van for $12,000 that will be used for 5 years. This van will have a residual value of $3,000 at the end of its fifth year. The van will be used to make deliveries for the company
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT