Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
I have two graphs (image below). I want to do a 3-D contour plot which will represent the difference in characteristics of these two graphs.How can I do that? Please help me. Two .mat files are attached.
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have plotted following two graphs with this code:

clc
clear
close all
a=importdata('ranu normal.mat');
b=a.data;
x=b(23970:25750,1);
[val, idx] = max(abs(x));
plot(abs(x), 'b-', 'LineWidth', 2);
hold on;
plot(idx,val,'-o','markerfacecolor',[1 0 0]);
grid on;
line([idx, idx], [0, val],...
'LineWidth', 2, 'Color', 'r')
%Next Person
a=importdata('robin roy.mat');
b=a.data;
x=b(22500:24320,1);
[val, idx] = max(abs(x));
figure();
plot(abs(x), 'b-', 'LineWidth', 2);
hold on;
plot(idx,val,'-o','markerfacecolor',[1 0 0]);
grid on;
line([idx, idx], [0, val],...
'LineWidth', 2, 'Color', 'r')
7 commentaires
Réponses (1)
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

