Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
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 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

