Community Profile

photo

Sravani Kurma


Last seen: oltre 2 anni fa Attivo dal 2020

Statistiche

  • First Answer

Visualizza badge

Content Feed

Visto da

Domanda


How can i add legend to the figure in matlab?
I have plotted a figure with 9 plots in it and in legend i have given 9 names to display. All good upto now. But after some edi...

circa 3 anni fa | 1 risposta | 0

1

risposta

Risposto
Matlab Text file I/o
function charnum=char_counter(fname,character) fid=fopen(fname,'rt'); if fid<0 % for invalid file,return -1 charnum= -1...

oltre 3 anni fa | 0

Risposto
Excel I/o matlab
code with explaination: function distance=get_distance(alpha,beta) [~,~,d]=xlsread('Distances.xlsx');% to read values [m,n...

oltre 3 anni fa | 1

Risposto
How to write a function to determine if a date entered is valid
function valid=valid_date(year,month,date) if nargin == 3; if ~isscalar(year) || year<1|| year~=fix(year)||~isscalar(month) ||...

oltre 3 anni fa | 0