simulink load and export data problem
Hello, I have a problem with simulink load and export data functions. After the simulation runs only time (tout) is in the workspace, States, Output, Final States variables are not. Also, can anyone explain if it is possible to assign initial states to all points in the system? And if anyone knows how to refere... 7 Jan 2010 04:40
handle of "imagesc" to make invisible
I have a programmatic GUI which, when run, creates an array that is then displayed using "imagesc()" (parented onto some previously made axes) I want this image to disappear and re-appear when a toggle button is clicked by setting its 'visible' property to 'off' Problem: how to get handle of image? Documention say... 7 Jan 2010 22:31
imagesc for two matricies
I regularly use imagesc to visualize a matrix. However, I was wondering if there is any utility that would allow one to split each cell into upper and lower triangles so that one could overlay two matricies (the first plotted in the upper triangle, the second plotted in the lower triangle. ... 7 Jan 2010 13:32
Graphical Comparison - How to approach?
Hi, I have a 2D model of a heat pipe and a 3D model i developed by my self. I now wanting to graphs the temperature profile of the 2D and the 3D model onto the same plot so that i can compare the two models. I can always export the temperature profile of both model to excel and graphs it in excel, but i really want... 6 Jan 2010 21:01
Interpreting cubic spline coefficients and breaks
I'm currently using cubic-spline interpolation via the Curve Fitting Toolbox to obtain a piecewise polynomial to a set of data points. My end goal is to be able to reconstruct these piecewise polynomial functions outside of matlab using the coefficients provided in the coefficient structure. However, trying to do it f... 6 Jan 2010 19:54
system of pde's in (t,x,y)
Hello My question is if it is possible to solve in MATLAB numerically a system of coupled PDE's ( parabolic) in two space dimensions (+time): d^2F/dt^2 = ...d^2F/dx^2 +...d^2F/dy^2 + ..... regards Reinoud ... 7 Jan 2010 03:34
Multiple improfile
Hi, I am loading in an image, using imshow and then I want to plot the greyscale profile along two (unconnected) arbeitary lines using the improfile tool. At the moment I have been sucessful along one line, and have noticed that you can draw a "polyline" but I want to plot two discrete lines on the same greyscale pl... 6 Jan 2010 21:01
Please Some Help With My Frenet-Serret Function
Below is my function: [code] function [T,N,B,k,t] = frenet(x,y,z), % Frenet - Serret Vecotrs % T = Tangent % N = Normal % B = Binormal % k = curvature % t = torsion % If only x and y inputted, set z to all zeros if nargin == 2, z = zeros(size(x)); end % If x, y and z are row vectors, make them co... 17 Jan 2010 18:24
Array
Hi all, I have an array that have two column vectors ranging 1-201. the first column contains time series t=0:0.01:2; the 2nd column contains a trajectory i.e arr=[t trajectory]; I want to expand this array for t1=0:0.01:4; and make a new array newarr=[t1 decompressed_trajectory]; so that the trajectory is ... 7 Jan 2010 20:19
Using ginput along with pushbuttons in Matlab GUI
Hello, My Matlab GUI has two axes, a single slider and few pushbuttons. I am using ginput(1) to get the coordinates of a click in any of the two axes. The two axes are tagged axes1 and axes2. To identify which axes was clicked, I am using following code: axis_handle = get(gca,'Tag'); axis_selected = str... 6 Jan 2010 15:24