two conditions for plotting
You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
0 votes
Share a link to this question
Accepted Answer
1 vote
Share a link to this answer
- A is a 4x3 matrix
- B is a 6x3 matrix
- C is a 3x3 matrix
- already_plotted is a 3x3 matrix
- L is a 3x1 matrix
- A(L) is using a 3x1 matrix to index values from a 4x3 matrix.
- B(L) is using a 3x1 matrix to index values from a 6x3 matrix.
- Also, L is a variable generated based on C. How is that suppose to relate back to A and B?
- already_plotted(L)=true is assigning a 1x1 value to a 4x3 matrix using a 3x1 index.
- L= C(:,1) == 10 & ~already_plotted; is using an & to combine a 3x1 condition and a 3x3 condition
7 Comments

Share a link to this comment
- their rows in common (D)
- rows that only A has (E)
- rows that only B has (C)
- Symbol stays the same within a group (only in A, only in B, in A&B)
- Color changes for each point


Share a link to this comment
More Answers (0)
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)