Updated specific locations to be searchable, take a look at Las Vegas as an example.

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

3
Help with plotting 2 functions both containing a matrix in them
Post Flair (click to view more posts with a particular flair)
Post Body

t = 0:0.1:16;
y1 = (-0.133i * sin(1.247i*t)) .* [-0.821; -0.571];
y2 = (-0.0975*cos(2.451*t)).*[-0.571; 0.821];
figure(1)
hold on
% Plot the first function (y1, first component) with a red line and label it
plot(t, y1, 'r', 'linewidth', 4, 'DisplayName', 'y1');
% Plot the second function (y2, first component) with a different color (e.g., green) and label it
plot(t, y2, 'g', 'linewidth', 4, 'DisplayName', 'y2');
% Customize the legend and add labels to the axes
legend('show', 'Location', 'best');
xlabel('Time (t)');
ylabel('Amplitude');
title('Function Plots');

I am not sure why it looks like this, and why it gives me 8 legends for only 2 functions, and I am almost certain it should be a sin/cos fuinction not this exponential.

Cheers

https://preview.redd.it/md6b0aszf6mb1.png?width=1502&format=png&auto=webp&s=c559f80e92045f94975ca82ead17d937430e42d1

Author
Account Strength
90%
Account Age
4 years
Verified Email
Yes
Verified Flair
No
Total Karma
863
Link Karma
358
Comment Karma
275
Profile updated: 5 days ago
Posts updated: 1 month ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago