luoyuying999
luoyuying999
关注数: 11
粉丝数: 32
发帖数: 572
关注贴吧数: 20
求一年生S无字资源 哪位大佬有或者知道去哪里找一年生S的无字资源啊,真的找不到啊,谢谢谢谢
求台剧,噗通噗通我爱你 陈奕,魏蔓,陈乃荣主演的那个,好像上周末首播
【Code★Blue3】第一集的信息量好大
【银影】06-09〖资源分享〗:求电影 琢玉成器 From The Rough Tom Felton 演的那个
【银影】05-23〖资源分享〗: 泰剧water boyy同步更新,求资源
【Code★Blue1】第一季,要的回复呦
请问各位大神,东北大学最近上不去六维有知道是怎么回事的么
求助大神!!!怎样把mat文件的每组数据计算之后调用画图 如图我想把每列的数据平方之后相加再开根号,之后用matlab画图,matlab程序应该怎么写 我有画这三列图像的M文件 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %Author: Mi Zhang %Date: July, 2010 %File Name: displayData_acc.m %Description: Visualize the 3-axis accelerometer data %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Fs = 100; % Sampling frequency = 100Hz % Read the data data = sensor_readings; acc_x = data(: ,1); acc_y = data(: ,2); acc_z = data(: ,3); % Parameter declaration BIN_COUNT = 10; % T = 1/Fs; % Interval = 1000 / Fs; % L = size(acc_x, 1); % t = (0:L-1)*T; % % Visualize the time series, histogram, and FFT figure; % Time series subplot(3, 3, 1); plot(t, acc_x); grid on; xlabel('Time (s)'); ylabel('Acceleration (g)'); title('X-Axis Data'); % Histogram subplot(3, 3, 2); hist(acc_x, BIN_COUNT); grid on; xlabel('Acceleration (g)'); ylabel('Count'); title('X-Axis Distribution'); % Spectral analysis subplot(3, 3, 3); NFFT = 2^nextpow2(L); Y = fft(acc_x, NFFT)/L; f = Fs/2*linspace(0,1,NFFT/2+1); plot(f,2*abs(Y(1:NFFT/2+1))); title('X-Axis Spectrum'); xlabel('Frequency (Hz)'); ylabel('|X(f)|'); % Time series subplot(3, 3, 4); plot(t, acc_y); grid on; xlabel('Time (s)'); ylabel('Acceleration (g)'); title('Y-Axis Data'); % Histogram subplot(3, 3, 5); hist(acc_y, BIN_COUNT); grid on; xlabel('Acceleration (g)'); ylabel('Count'); title('Y-Axis Distribution'); % Spectral analysis subplot(3, 3, 6); NFFT = 2^nextpow2(L); Y = fft(acc_y, NFFT)/L; f = Fs/2*linspace(0,1,NFFT/2+1); plot(f,2*abs(Y(1:NFFT/2+1))); title('Y-Axis Spectrum'); xlabel('Frequency (Hz)'); ylabel('|Y(f)|'); % Time series subplot(3, 3, 7); plot(t, acc_z); grid on; xlabel('Time (s)'); ylabel('Acceleration (g)'); title('Z-Axis Data'); % Histogram subplot(3, 3, 8); hist(acc_z, BIN_COUNT); grid on; xlabel('Acceleration (g)'); ylabel('Count'); title('Z-Axis Distribution'); % Spectral analysis subplot(3, 3, 9); NFFT = 2^nextpow2(L); Y = fft(acc_z, NFFT)/L; f = Fs/2*linspace(0,1,NFFT/2+1); plot(f,2*abs(Y(1:NFFT/2+1))); title('Z-Axis Spectrum'); xlabel('Frequency (Hz)'); ylabel('|Z(f)|');
1
下一页