Community Profile

# Athira T Das

Last seen: 1 giorno fa Attivo dal 2022

Followers: 0   Following: 0

#### Feeds

Visto da

Risposto
How to execute double for loop?
I changed my code like fun = matlabFunction(IQ1,'Vars',[r,ph,phi]); result_3 = (1/(4.*pi.*pi)).*abs(integral3(@(r,ph,phi)fun(...

3 mesi fa | 0

Domanda

How to execute double for loop?
I have an equation . This particular equation is for an z value. But I have an array of z and I need to evaluate get C as an ...

3 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

How to plot 2D phase distribution of a beam?
I have the electric field equation of a beam, And I need to plot the 2D phase distribution of the beam like I am unaware a...

10 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How to change colormap based on z axis instead of y?
m=1; %for m0=m=1 a=[0.636083933250372 0.212144382452125 0.0546892460944343 0.0811463126813785 0.0632774202126715 0.05623621...

11 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

How to normalize surf plots?
syms x y x0 = -.5:0.001:.5; y0 = x0;w0=0.05; [X0,Y0] = meshgrid(x0,y0); omegax=2 omegay=omegax; f = @(x0,y0)sinh((omegax...

11 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How to surf plot and line plot together for the code?
I need to plot like But for my code it showing some error [x, y] = meshgrid(-.5:0.01:.5); m =1; sgm =1; wo = 0.01; l...

11 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

Why contourf and fcontour gives different images for the same matlab code?
I have code for fcountour as; syms x y m =1; sgm =1; wo = 0.01; lambda=532 *10^-9; k=2*pi/lambda; Omega = .2; z=...

11 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How to normalize plot?
How to normalize the plot to one? clc;clear all;close all; syms x y x0 = -.02:0.001:.02;lambda=532*10^-9; y0 = -.02:0.001:....

12 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

Why this for loop showing this error?
clc;close all;clear all syms r ph phi lam=532 *10^-9; k=2*pi/lam; omega=30; w0=0.002; rho=1;p=1; z=100; R=0.06; m1=...

12 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How to do summation and integration?
clc;close all;clear all syms r ph phi z m=1 lam=532 *10^-9; k=2*pi/lam; omega=30; w0=0.002;rho=1;p=1;R=0.06; N=3 for...

12 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How to resolve the Plotting issue in my code?
I done the partial differentiation of W and W3 and then substitute with an array of values and tried to plot. clc;close all; c...

12 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

Error in Double Integration problem
%anisotropic spatial power spectrum syms q theta qx=q*cos(theta);qy=q*sin(theta); q=sqrt(qx^2+qy^2); mu=2;gamma=90;C0=0....

12 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

How to change the marking in colorbar?
How to change the colorbar marking uniformly? clc;close all;clear all; lambda=532 w0 = 1; % beam waist z = 0; ...

12 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How to plot in 2D this equation?
I have an equation and need to plot this like

12 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

Error in double integration
I need to evaluate a double integration but showing some error lam=532*10^-9; z=100; k=2*pi/lam; omega=30;s=5; r=linspace(0...

12 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

How to generate Bessel Gauss signal in optisytem using Matlab?
I need to generate input signal of Bessel beam to an electronic circuit designed in Optisytem software by including a Matlab com...

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

How to get the integral expression?
I am trying to solve following expression in Matlab. And my script is clc;close all;clear all; syms s phis r phir A=1;m=1...

oltre un anno fa | 0 risposte | 0

### 0

risposte

Domanda

Integration limit is an array
syms x tau=35*10^-15; f=tau.*exp(-x.^(2)); t=linspace(-300*10^-15,300*10^-15,500); fun=matlabFunction(f,'Vars',x); z=inte...

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

How to draw contour plot of given function?
sgn=1 m=2 w0 =0.02

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

How to plot these types of graph in matlab?
How to seperate multiplot and to show graph in same window?

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

How to code following equation?
My code for the above equation is given below. But looks like it don't work well. Could anyone have a look at whether I imp...

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

Double integration of an array function
clc; clear all; close all; lambda=532*1e-9; w=0.35*1e-3; R=3500*1e-3; alpha=40; rho=789; cp=2440; beta=750*1e-6; mew=1...

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

How to plot contour plot of a function?
I have a function I and need to plot this function as a contour plot, like Anyone please help, where x and y ranges from -0....

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

Value of infinite integral is different
I am trying to evaluate integral of a function which is from 0 to infinity. And I evaluated the function in two ways, i.e. 0 to ...

oltre un anno fa | 3 risposte | 0

### 3

risposte

Domanda

What is wrong in script?
for m1 =0:M T2=0; for m2=0:M T3=0; for s1=0:m1/2 T4=0 for j1=0:m1-2*s1 ...

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

Why break loop is not working?
The value of e at certain points is infinity. But the break loop is not working. clc; clear all; close all; M=3 for m1=0:M ...

oltre un anno fa | 2 risposte | 0

### 2

risposte

Domanda

How to plot these types of plot?

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

How to skip NaN arrays outputs of a for loop?
clc; clear all; close all; syms m1 m2 s1 s2 j1 j2 lambda = 1060*10^-9; M=1 z=linspace(0.00001,8000); wo = 0.02; C = 10^(-...

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

How to find the factorial of fractional numbers using matlab code?
I have an array s1. I want to evaluate the factorial of s1. M=3; m1 = 0:M; s1 = m1./2 factorial(s1)

quasi 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

How to insert fractional values in for loop?
Here the values of s1 can be 0,1/2,1,3/2 But in my for loop the values of s1 is integer, how to give the fractional values to s...

quasi 2 anni fa | 1 risposta | 0

risposta