photo

GULZAR


Last seen: 2 Monate vor Aktiv seit 2023

Followers: 0   Following: 0

Statistik

  • First Answer
  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How to save a output matrix in each iteration?
I have a matlab code with output of 2x2 matrix I need a data contains with 2x2 matrix with total number of iteration(correspon...

7 Monate vor | 1 Antwort | 0

1

Antwort

Frage


How to generate fx value according to number of samples?
I have a matlab code of matrix multiplication with normal distribution I need a output corresponding to number of samples = 20...

7 Monate vor | 1 Antwort | 0

1

Antwort

Frage


How to plot contour ?
clc clear close all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Define material p...

9 Monate vor | 1 Antwort | 0

1

Antwort

Frage


How to create random sequence?
How to generate gaussain random sequence with mean = 817e-9 and standard deviation = 10e-9 and probability = 0.25 (total 50 numb...

9 Monate vor | 1 Antwort | 0

1

Antwort

Frage


How to multiply matrices randomly?
I need a matlab code for positional-random matrix multiplication (choose M1 or M2 randomly) frequency = 100 to 200 THz (i.e 100...

10 Monate vor | 1 Antwort | 0

1

Antwort

Beantwortet
linear optimization problem in matlab
f=[-10 -2]; a=[1 2;1 -3;-20 2]; b=[20 3 -10]; aeq=[]; beq=[]; lb=[0 0]; ub=[]; [X, F]=linprog(f,a,b,aeq,beq,lb,ub); disp...

10 Monate vor | 0

Frage


How to do optimization coding for minimize peak width ?
i need a optimization code for minimize the "peak_width" (width at half maximum) by the optimized "del" (thickness variation par...

10 Monate vor | 1 Antwort | 0

1

Antwort

Frage


How to combine two plots in same figure with axis break?
I need a figure like this %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % This is a progr...

10 Monate vor | 1 Antwort | 0

1

Antwort

Frage


How to plot five figures with different values?
I have a band diagram of one-dimensional photonic crytal with hydrostatic pressure "P" I need five different band diagram of P...

10 Monate vor | 1 Antwort | 0

1

Antwort

Frage


How to plot average of logarithm of transmission versus sample length by positional-randomize structure?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % This program uses Transfer Matrix Method ...

11 Monate vor | 0 Antworten | 0

0

Antworten

Frage


How to plot bar graph with colorscale?
I need a bar graph like the picture given below for these values with colorjet. The points (1,0), (1,0.1), (1,0.2), (1,0.3), (1,...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


How to plot a bar graph for individual values?
I need a bar graph for these values with colorjet. The points (1,0), (1,0.1), (1,0.2), (1,0.3), (1,0.4) and (1,0.5) with values ...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


How to find the peaks?
How to find the peak values of the curve. I try, but not getting result. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


How to find the intersection values of line and curve?
How to find the intersection values of line(black) and the curve(blue). And I need the intersection points in ascending order i...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


How to display pi symbol in the output?
how to display pi symbol instead of numerical value in the out of the given code clc; clear all; close all; nA=3.3;nB=2.25; %...

mehr als ein Jahr vor | 3 Antworten | 0

3

Antworten

Frage


How to plot all figures in only one plot?
How to plot all figures in one plot (like hold on hold off command) using for loop. I don't need 12 subplots. I need 12 figures ...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


How to find the intersection values of line and curve?
How to find the intersection values of line(black) and the curve(blue) clc close all d1 = 0.4;d2 = 0.6;d = d1 + d2; n1 = 3...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


How to find the intersection values?
How to find the intersection values of line(black) and the curve(blue) clc close all d1 = 0.4;d2 = 0.6;d = d1 + d2; n1 = ...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


How to plot shaded rectangles in between band gaps?
How to add the rectangle shaded boxes in between the band gaps. Ref image attached in end of the page. clc close all c = 3e8;...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Beantwortet
How to remove the vertical lines of band gaps?
clc close all c = 3e8; d1 = 0.4; d2 = 0.6; d = d1 + d2; n1 = sqrt(12); n2 = 1; lambda = linspace(400e-3,800e-3, 10000000...

mehr als ein Jahr vor | 0

Frage


How to remove the vertical lines of band gaps?
clc close all c = 3e8; d1 = 0.4; d2 = 0.6; d = d1 + d2; n1 = sqrt(12); n2 = 1; lambda = linspace(400e-3,800e-3, 10000); ...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


How do I find indexes of three for-loops of maximum value of function with three indexes?
clear all clc xx=0:1:5; yy=0:1:7; zz=-5:1:1; for i=1:length(xx) x=xx(i); for j=1:length(yy) y=yy(j); ...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort