Re: Error using interp1 function
"Matt" wrote in message <k9nohk$c9f$1@newscl01ah.mathworks.com>...> Hello everybody.> > After using the following function :> > --------------> AAA=interp1(d, time3, 20,...
View ArticleODE solver
Hi, I've been working on a program using ODE's and I've been using ODE45 to get numerical solutions for differential equations. I've been getting incorrect results e.g. when I used y'' = -y, I get a...
View ArticleRe: Error using interp1 function
On Saturday, June 29, 2013 8:25:07 AM UTC+12, rohith Eggidi wrote:> "Matt" wrote in message <k9nohk$c9f$1@newscl01ah.mathworks.com>...> > > Hello everybody.> > > > >...
View ArticleMatlab fail to found symbolic equation system solution, why?
Dear friends,        I need help to solve a symbolic equation system, four equations and four variables, seems simple, but does not work. See the code: %Declare 4 real symbolic variables ......
View ArticlePlease tell me what these simple codes mean?
what do these mean? Lmax=B(1,4);%Lmax is equal to the maximum value in the vector Lmin=B(1,1);%Lmin is equal to the minimum value in the vector La=B(1,2);%La is equal to one of the rests. Lb=B(1,3);%Lb...
View ArticleWhat do these codes mean?
What does this mean?: Lmax=B(1,4);%Lmax is equal to the maximum value in the vector Also, if my inputs are 100,300,250, and 50, how will the value for Lmax, Lmin, La, and Lb turn out to be?...
View ArticleRe: Why I cannot find function ParseInputs?
"Daniel Mark" <danielmarkhot@Hotmail.com> wrote in message <ef246b1.-1@webx.raydaftYaTP>...> Hello all:> > I find lots of matlab functions using 'ParseInputs' to parse the>...
View ArticleNested loop in simulink
i'm tiring to model a pv array in simulink where one or more modules is partially shaded, for this i have to enter irradiation data per hour for all blocks and the reduced irradiation value for the...
View ArticleUsing max when there is symbolic variable
Hi, I am trying to solve this problem: p_i=max(0,(-1+sqrt(1-4*c_i*d_i+4*(c_i-d_i)*c_i*d_i/(x*a_i))/2*c_i*d_i) if c_i>d_i and p_i=0 otherwise. p_i, c_i,d_i are diagonal elements of matrices P, C, D...
View ArticleRe: Using max when there is symbolic variable
"Maya" wrote in message <kqmght$e9p$1@newscl01ah.mathworks.com>...> Hi,> > I am trying to solve this problem:> p_i=max(0,(-1+sqrt(1-4*c_i*d_i+4*(c_i-d_i)*c_i*d_i/(x*a_i))/2*c_i*d_i)...
View Articlewriting grahm schmidt algorithm as recorsive calls
I wrote the following code given a matrix A and returns an orthagonal basis: function N=grahm(A) for q=1:size(A,2) if size(A,2)==1    N(:,1)=A/norm(A); else    proj=0;    for l=1:q-1...
View ArticleRe: What do these codes mean?
On 6/28/2013 11:02 PM, Chris Yoo wrote:> What does this mean?: Lmax=B(1,4);%Lmax is equal to the maximum value in the vector The comment is true only if the preceding code has arranged it so that is...
View ArticleRe: rep rows of matrix
> > h=[];> > h(cumsum(B))=1;> > C=A(cumsum(h)-h+1,:); Lucio's code works fine if B doesn't contain zeros. If there are zeros in B then it needs modifying slightly. This seems to do...
View Articleplotting function on a logarithmic scale in mupad
Assume I want to plot function depanding on log(x), in matlab the command 'semilogx' works like a charm. What is the parallel mupad command (for plotting a logarithmic scale)?
View ArticleLegacy Code Tool / Linker Error LNK2019 and LNK1120
Hi, i'm trying to import existing c-code into simulink via using Legacy Code Tool (LCT) and getting two linker errors (see topic) which i am not able to understand. The LCT configuration is as...
View ArticleMatlab Running in Background .
I want to run MATLAB in background in Linux ( On a server ) So that I am able to interact with this running job i. e I am able to call a function and display its output on the screen . I can run matlab...
View ArticlePlot intensity/pixel values with mesh as 3D plot
Hello, I have a series of images from a video clip that I have converted into intensity (greyscale) and would like to plot the intensity (or pixel value) on the z axis with the x and y axes as the...
View ArticleRe: There are a way of instruct the matlab to use sin(pi) = 0 in
I'm with problem about this again! :( See, http://www.mathworks.com/matlabcentral/newsreader/view_thread/330310! I already try some ways using mupad, but nothing, not work!
View ArticleString Clustering Approach with Levenshtein Distance and kmeans
Hello, It's my first post here, please bear with me :-) Problem: Sort strings into clusters, and plot them (in addition to regular output). Example strings: american muscle cars ny mustang american car...
View ArticleHow do a grid for drawing characters in the GUIDE?
Well I've been working with neural networks, and I have already solved the program but I want to pass this file to GUIDE and I would like to do as shown in the figure where I by clicking with the mouse...
View Article