First  |  Prev |  Next  |  Last
Pages: 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
Initial Value Problem - ode45 returns NaN
Hi, I am using ode45 to solve an initial value problem. I am trying to solve the ordinary differential equation diff_eq defined below, for p as a function of u. My tspan is from -1.828427124746190 to 3.828427124746190. My initial condition is p0 = -1.828427124746190 - value value can take on any positive val... 6 Aug 2010 10:26
vector with elements 0 and 1
Hi everyone, I'm new here and a begginer at matlab. I have vector with elements 0 and 1. Vector length is 300. I need to find the longest array of 1 and its location in vector. Does anyone have any suggestions? Thank you in advance, Milana ... 6 Aug 2010 07:09
another for loop issue
Basically, i'm new to matlab and I am faced with a loopiing problem where the output variable,i.e my answer does not loop properly. The wrong answer I get is: M = 46.4348 But I desire : M = 46.4348 43.8353 I cannot seem to get the 43.8353. The ... 5 Aug 2010 20:17
Subscripted assignment dimension mismatch.
I have the same error when a use the following script.. OUTPUT=[] for i=1:Np OUTPUT = [OUTPUT; row D]; end OUTFILE=strcat('OUTPUT',num2str(m),'.txt') save(OUTFILE,'OUTPUT','-ascii', '-double') may somebody help me? "Jan Simon" <matlab.THIS_YEAR(a)nMINUSsimon.de> wrote in message <... 6 Aug 2010 09:21
controled zooming
Hi guys, I am trying to make a code that will help allow the user to zoom at different factor values. So for example, we have displayed any image using imshow, then when the user clicks the left button it should zoom in and when he clicks right button it should zoom out to the last zoomed value and when he clicks on... 5 Aug 2010 19:09
TriScatteredInterp produces non-stationary NaNs
Hi everyone. I'm new to DelaunayTri and TriScatteredInterp, so I may be missing something. Your help is appreciated... I've produced a 3D triangulation using DelaunayTri, and an interpolant using TriScatteredInterp. The interpolant, however, produces NaNs that are not in the same place when I make identical ca... 5 Aug 2010 19:09
using of fsolve to find the roots of an iterated function
Hi everyone, I'm new here, and a begginer at matlab; I am working in a project using the ZAD technique to control a boost converter. I've already figured out what are the equations for my problem, and I have put them into a function that calculates what i need; this function is presented below: function X=switchinbo... 9 Aug 2010 07:55
Matlab figure to fixed jpeg size
I want to print a Matlab figure to a fixed size jpeg file (480x400 pixels). I have tried: set(fig,'PaperUnits','inches','PaperPosition',[0 0 4.8 4]) print(fig,'-djpeg100',(fullfile(pathName,[fileName '.jpg'])),'-r100'); That creates the correct file size, but the image is a cropped version of the Matlab ... 12 Aug 2010 12:33
using of fsolve to find the roots of an iterated function
Hi everyone, I'm new here, and a begginer at matlab; I am working in a project using the ZAD technique to control a boost converter. I've already figured out what are the equations for my problem, and I have put them into a function that calculates what i need; this function is presented below: function X=switchinbo... 5 Aug 2010 19:09
pdetool for poisson-boltzmann equation
Hi: I'm new to the pdetool and was wondering if it can solve the following (electrostatic) problem: There's an infinite rod of uniform charge density inside a solution. Normally, the poisson equation governs the behaviour of electrostatics. However, the charge distribution of mobile ions within the solution gets ... 11 Aug 2010 03:51
First  |  Prev |  Next  |  Last
Pages: 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78