Recent content by py_engineer

  1. P

    SPICE Circuit Parameter Extraction

    Hi, Thanks for your answer. My system is a black box, so I can't just go and measure the resistances and capacitances. I have an equivalent circuit model for my system, and I can obtain experimental data from the system, so I am just looking for a tool that will fit the equivalent circuit...
  2. P

    SPICE Circuit Parameter Extraction

    Hi, I am looking for information on how to extract circuit parameters. I have a system, and I can experimentally perform current and voltage measurements. For example, I can measure the voltage response of the system as a function of a given input pulse. In addition, I also have an...
  3. P

    How do I generate a diffraction pattern using FFT from a single slit?

    Thanks for the reply. The problem is that I think I am not getting what I should get according to the theory.. Here is my Matlab code: --- N=2^13; lambda=525e-6; % Wavelength defined in mm d_x0=2/N; % I go from -1 mm to 1 mm so d_x0 is the step between each points.. D=60; for j=1:N...
  4. P

    How do I generate a diffraction pattern using FFT from a single slit?

    Hi, I am a bit confused regarding using FFT to calculate the 1D single slit diffraction pattern.. Let's take the simple setup shown here: http://electron9.phys.utk.edu/optics421/modules/m6/images/sslit.gif" If I wanted to do a quick calculation using Matlab, I would create a 1xN matrix...
  5. P

    MATLAB Matlab: Defining X/Y Label & Axis for Multiple Figures

    Hi, If I have several figures defined in my m-file (figure(1),... figure(10)), is it possible to define at the end the xlabel, ylabel, and axis to be applied to all figures? Or do I have to define these for each figure separately? Thanks!
  6. P

    Optical band-pass filters (radome coatings)

    Hi, I am reading about a new field that I am not familiar with at all, and I was hoping that someone could give me some info on that. The general idea is that if you have a conductive layer, with a periodic array of apertures perforated in it (such as crosses), you can design a band-pass...
  7. P

    How Can I Quantitatively Validate My Numerical Model Against Experimental Data?

    Hi, I developed this numerical model where I solve a set of PDEs that allows me to simulate an imaging detector with different parameters, etc. Now, I would like to compare my model with a particular case where experimental data has been obtained. I made a very simple plot to explain what I...
  8. P

    MATLAB Why does my Matlab memory usage increase during a loop?

    Hi, I am using Comsol with Matlab. I have a loop in my M-file. And it seems that the memory usage of my program increases as the loop increases.. It is a very intensive program, so after a while, the program stops because there is no more memory. For example, I am running this program on 1 CPU...
  9. P

    Help with COMSOL Script Issues

    Ok, I got it, that wasn't too difficult, but it took me so long! So I was trying to run COMSOL in the background. But 'comsol script filename' tries to open a progress window, and this makes the simulation crash since I was running this on a remote server with no graphics capability.. To avoid...
  10. P

    Help with COMSOL Script Issues

    Hi, Is there anyone who can help me with COMSOL Script? Is there anything wrong with this statement: flclear fem g6=rect2(1.0E-6,11.0E-6,'base','corner','pos',[0,0]); clear s s.objs={g6}; s.name={'CO1'}; s.tags={'g6'}; fem.draw=struct('s',s); fem.geom=geomcsg(fem)...
  11. P

    Solving PDE with COMSOL Script: Parametric Study & Initial Solution

    Thanks for your answer! I actually looked a little bit into the Solver Manager, and the Help docs on this. And from what I understand, I can use a previous solution as an initial solution for the next step. But what I'm trying to do, is to use a previous solution in order to define an equation...
  12. P

    Solving PDE with COMSOL Script: Parametric Study & Initial Solution

    Hi, I am using COMSOL Script and I am trying to figure out something. Let's say I am only solving one PDE which solution is 'phi'. And I am doing a parametric study, so I am solving it for different biases 'Va' from 0V to -1V. My geometry is simply a rectangle. As part of the PDE, I have a...
Back
Top