You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
how can I make waves from the equation and data value
1 view (last 30 days)
Show older comments
I want to figure waves from the equation and data value Aw ^ 2cos (wt) if I already have angular frequency data and time periods? And wanna plot maximum period vs. time period
16 Comments
Latifah Hanum
on 22 Feb 2020
No, actually I've never try MATLAB before, can you help me? In the picture
Latifah Hanum
on 22 Feb 2020
the plot that I was hoping for was like in the picture, below with the data that was already there, but I didn't know how to code it
Latifah Hanum
on 22 Feb 2020
clc
clear all;
close all;
A=
w = [6.11, 5.71, 5.07, 4.20, 3.15, 1.95, 0.66 , 0.66, 1.95, 3.16, 4.23, 5.12, 5.78, 6.19];
t = [1.03, 1.10, 1.24, 1.49, 1.99, 3.22, 9.51 , 9.50, 3.21, 1.99, 1.48, 1.23, 1.09, 1.02];
x0= A*cos(w*t);
figure (1)
subplot(2,2,1);
plot(t,x0);
axis([0 15 0 15])
xlabel('Time Period')
ylabel('Maximal Amplitude')
title('Seven Floor With Damping')
subplot(2,2,2);
plot(t,w);
axis([0 15 0 15])
xlabel('Time Period')
ylabel('Maximal Amplitude')
title('Seven Floor Without Damping')
Latifah Hanum
on 23 Feb 2020
what if I only have the function Y = Acos(wt). With the initial value of A is 0
Latifah Hanum
on 23 Feb 2020
Latifah Hanum
on 23 Feb 2020
Where M, C, K is matrix C is damping, without damping when C=0. the data above has been tabulated from the equation
Answers (0)
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
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)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)