I have used MATLAB for few hours.So I don't know the differences between version 6.5 and 7.0.I want to use some codes of MATLAB 7.0, but they doesn't work in MATLAB 6.5.How to change these codes so that they can work in matlab 6.5.Waiting for your help. Thank you . The codes are like this .I think changing the function findPI may work ,but I don'y know how % PIfun.m % Evaluate a function used to find the PI-line, using Kyle Champley's % method. % % Adam Wunderlich % last update: 5/18/06 function y = PIfun(r,R,h,gamma,x3,sb) temp = R - r*cos(gamma-sb); y = h*((pi - 2*atan(r*sin(gamma-sb)/temp))*(1 + (r^2 - R^2)/ (2*R*temp)) ... + sb) - x3; % find_PI_Line.m % % Find the the parametric interval corresponding to the unique PI-line % passing through the point x for a given helical pitch. % This code implements the method of Kyle Champley. % inputs: P = pitch (cm/turn), R = helix radius, delta_s = s stepsize, x % output: PI = [sb st] % % Adam Wunderlich % last update: 5/18/06 function [PI] = findPI(P,R,delta_s,x) h = P/(2*pi); r = sqrt(x(1)^2+x(2)^2); gamma = atan2(x(2),x(1)); options = optimset('TolX',h*delta_s/100,'FunValCheck','on'); [sb,fval,exitflag] = fzero(@(sb) PIfun(r,R,h,gamma,x(3),sb),... [(x(3)-h*pi)/h,x(3)/h],options); if exitflag ~=1, disp('Error: PI invalid'); end % note that beta=sb in Kyle's formula alphaX = atan(r*sin(gamma-sb)/(R - r*cos(gamma-sb))); st = sb + pi -...

Dear All I hope that you are doing well and everything is OK. I have a question, please: I have a decimal number stored in a matrix. For example, Matrix subscripts: 1 2 3 5 6 7 8 9 10 Values: 8 9 8 7 7 9 9 2 7 So, the number is: 898779927 My matrix consists of 3000 cells and each cell contains a number from 0-9. I need to get the number of bits for this string in binary. However, I cannot convert it to binary as the program will give me out of range. Thanks and your response will be much appreciated. Sincerely, Kal kal wrote: > Dear All > I hope that you are doing well and everything is OK. > I have a question, please: > I have a decimal number stored in a matrix. For example, > Matrix subscripts: 1 2 3 5 6 7 8 9 > 10 > Values: 8 9 8 7 7 9 9 2 > 7 > So, the number is: 898779927 > My matrix consists of 3000 cells and each cell contains a number from > 0-9. I need to get the number of bits for this string in binary. > However, I cannot convert it to binary as the program will give me out > of range. > Thanks and your response will be much appreciated. I don't ordinarily do other's homework, but in the spirit of the season, I'll meet you more than half way. If you get "Out of range", then you're converting the wrong item. The correct answer is 30. D...

Hello everybody . I have MAT LAB 2009 version software but it doesn't work properly in my system because in my system the RAM is 512 MB . when i started MAT LAB it takes lot of time in processing . Please any one provide me Mat lab software which is compatible to my system. On 1/4/2012 11:41 PM, siddhartha chandel wrote: > Hello everybody . I have MAT LAB 2009 version software but it doesn't work properly in my system >because in my system the RAM is 512 MB . when i started MAT LAB it >takes lot of time in processing . Please any one provide me Mat lab software which is compatible to my system. hi; First it is called Matlab (one word). As for the problem you are having, I do not think Mathworks makes a light version of Matlab, so only think I can suggest is to see if you can buy a little bit more RAM for your PC to make it run faster. "siddhartha chandel" <raman007.ec@gmail.com> wrote in message news:je3d5k$91m$1@newscl01ah.mathworks.com... > Hello everybody . I have MAT LAB 2009 version software but it doesn't work > properly in my system because in my system the RAM is 512 MB . when i > started MAT LAB it takes lot of time in processing . Please any one > provide me Mat lab software which is compatible to my system. For releases R2009a and R2009b, the bare minimum requirement given in the system requirements for running MATLAB on a 32-bit system is 512 MB of memory, while 1024 MB is recommended. [If you'...

Hello All, I'm working with an aplication that use the matlab engine. I made the C++ program and it is working well in my pc with matlab 2007b, but the same very basic program shows an error when I tried to compile it in a pc with matlab R2010b. The error is about the icuuc32.dll. ¿Why is asking this DLL? How can I solve this?. Thanks¡ ...

I downloaded the MS visual C++ 2008 Express Edition and the SDK as detailed in http://www.mathworks.com/support/solutions/en/data/1-6IJJ3L/?solution=1-6IJJ3L My embedded function didnt work at the beginning because I did "mex -setup" before I installed my SDK. But after I installed the SDK, I ran "mex -setup" in Matlab once again and choose the MS visual C++2008 as my compiler. Then, my embedded matlab function worked. Thanks to the contribution from above! ...

Many of you who post to this newsgroup are also regular contributors to the MATLAB Central File Exchange. Look for your favorite contributors on our File Exchange Author Profile page. You can read their profiles and see pictures: <http://www.mathworks.com/matlabcentral/reports/fileexchange/allProfiles/> In a random drawing, we recently awarded MATLAB jackets to three File Exchange authors with profile pages: Michele Giugliano, Andrey Egin, and Denis Gilbert. You can win a jacket, too. Just submit a new file to the File Exchange or update your author profile by December 2003 for a chance to win one of four MATLAB jackets. See the jacket below: <http://www.mathworks.com/matlabcentral/images/jeff3.jpg> Here are some interesting File Exchange facts: - Since its inception in 2001, visitors have downloaded more than 1.25 million submissions from the File Exchange. - In September 2003 alone, visitors downloaded 80,085 files, an average of 2670 a day! .... what if the prize was a free copy of the next version of Matlab :-) majb Min Poh wrote: ....or an offer for employment... aj "bourassa" <bourassa-m@rmc.ca> wrote in message news:3f9d507d$1@rmcnt03a.rmc.ca... > ... what if the prize was a free copy of the next version of Matlab :-) > > majb > > Min Poh wrote: > ...

passing gradient when using fminunc I am trying to make use of the gradient of the function and then minimize using fminunc in an unconstrained problem. I have done as specified by the help file (incorporating optimset and all that) but an error is being generated. If i don't pass the gradient it find the minimum using a line search instead of trust region method. I list the error message below. Any help is appreciated. function[f,g]=3Dexam1(x) %r=3D10=E5=BC=80=E5=A7=8B; M=3D10; r=3D1000000; f=3Dlog(x(1))-x(2)+r*((-x(1)+1+abs(-x(1)+1))/2)^2+r*(x(1)^2+x(2)^2-4)^2; %g(1)=3Ddiff(f,x(1)); %g(2)=3Ddiff(f,x(2)); g(1)=3D1/x(1)+r*2*(-1/2*x(1)+1+1/2*abs(x(1)-2))*(-1/2+1/2*sign(x-2)) +r*2*(x(1)^2+x(2)^2-4)*2*x(1); g(2)=3D-1+r*2*(x(1)^2+x(2)^2-4)*2*x(2); >> options=3Doptimset('GradObj','on');[x,fval]=3Dfminunc('exam1',[1;0],opti= ons) ??? In an assignment A(I) =3D B, the number of elements in B and I must be the same. Error in =3D=3D> exam1 at 8 g(1)=3D1/x(1)+r*2*(-1/2*x(1)+1+1/2*abs(x(1)-2))*(-1/2+1/2*sign(x-2)) +r*2*(x(1)^2+x(2)^2-4)*2*x(1); Error in =3D=3D> fminunc at 220 [f,GRAD(:)] =3D feval(funfcn{3},x,varargin{:}); >> On 5/5/2012 9:52 AM, wangbin123ab@126.com wrote: .... > ??? In an assignment A(I) = B, the number of elements in B and > I must be the same. > > Error in ==> exam1 at 8 > g(1)=1/x(1)+r*2*(-1/2*x(1)+1+1/2*abs(x(1)-2))*(-1/2+1/2*sign(x-2)) ...

i can't run a model on DM6437 ### Connecting to Code Composer Studio(tm) ... ### Generating code into build directory: C:\Users\Engineer\Documents\MATLAB\testdm_ccslink ### Invoking Target Language Compiler on testdm.rtw tlc -r C:\Users\Engineer\Documents\MATLAB\testdm_ccslink\testdm.rtw C:\Program Files\MATLAB\R2009a\toolbox\rtw\targets\ccslink\ccslink\ccslink_grt.tlc -OC:\Users\Engineer\Documents\MATLAB\testdm_ccslink -IC:\Program Files\MATLAB\R2009a\toolbox\rtw\targets\ccslink\ccslink -IC:\Program Files\MATLAB\R2009a\toolbox\rtw\targets\tic6000\tic6000blks -IC:\Users\Engineer\Documents\MATLAB\testdm_ccslink\tlc -IC:\Program Files\MATLAB\R2009a\rtw\c\tlc\mw -IC:\Program Files\MATLAB\R2009a\rtw\c\tlc\lib -IC:\Program Files\MATLAB\R2009a\rtw\c\tlc\blocks -IC:\Program Files\MATLAB\R2009a\rtw\c\tlc\fixpt -IC:\Program Files\MATLAB\R2009a\stateflow\c\tlc -aEnforceIntegerDowncast=1 -aFoldNonRolledExpr=1 -aInlineInvariantSignals=0 -aInlineParameters=0 -aLocalBlockOutputs=1 -aRollThreshold=5 -aZeroInternalMemoryAtStartup=1 -aZeroExternalMemoryAtStartup=1 -aInitFltsAndDblsToZero=0 -aForceBlockIOInitOptimize=0 -aGenerateReport=0 -aGenCodeOnly=1 -aRTWVerbose=1 -aIncludeHyperlinkInReport=0 -aLaunchReport=0 -aGenerateTraceInfo=0 -aForceParamTrailComments=0 -aGenerateComments=1 -aIgnoreCustomStorageClasses=1 -aIncHierarchyInIds=0 -aMaxRTWIdLen=31 -aShowEliminatedStatements=0 -aIncDataTypeInIds=0 -aInsertBlo...

I am trying to to some computations and I would like to do it in parallel using parfor or by Opening the matlabpool.. as the current implementations is too slow: result=zeros(25,16000); for i = 1:length(vector1) % length is 25 for j = 1:length(vector2) % length is 16000 temp1 = vector1(i); temp2 = vector2(j); t1 = load(matfiles1(temp1).name) %load image1 from matfile1 t2 = load(matfiles2(temp2).name) % load image2 from matfile2 result(i,j)=t1.*t2 end end It work fine but I would really like to know if there is a way to speed thing up ... Thanks a lot in advance! ...

Dear Community I wrote a DLL using Microsoft VisualC++ 2005 which exports two functions which I wanted to use in Matlab. If now in Matlab I enter: >> loadlibrary('MandelDLL.dll', 'MandelDLL.h') >> libfunctions('MandelDLL.dll') No methods for class lib.MandelDLL.dll or no class lib.MandelDLL.dll. (both files are in my work directory) I'm not so familiar with visual C++... At least QuickView from old NT 4.0 shows me the exported functions... Best regards Pascal -- Visual C++ files -- - MandelDLL.cpp - #include "stdafx.h" #include "math.h" extern "C" { struct MandelBild { int pixels[600][600]; }; __declspec(dllexport) int CalculateMandelbrot(double posX, double posY, double width, double height, MandelBild &myMandelBild); __declspec(dllexport) int incrementNumber(int i); } __declspec(dllexport) int incrementNumber(int i) { return i+1; } __declspec(dllexport) int CalculateMandelbrot(double posX, double posY, double width, double height, MandelBild &myMandelBild) { const int diagramWidth = 600; const int diagramHeight = 600; const int maxIt = 250; int redColorFactor = 121; int blueColorFactor = 7; int greenColorFactor = 0; int i=0; int j=0; int temp=0; const double maxAbsSqr = 4; double x_alt = 0; double x_neu = 0; double y_alt = 0; double y_neu = 0; double c_x = 0; double c_y = 0; int iteration = 0; int iOuterCounter = 0; int iInnerCounter...

for i=1:size(APLocation,1) point=APLocation(i,:); parfor j=1:length (RXpoint) rssi(i,j) = LOSS(point,RXpoint(:,j)'); %%rssi having the signal strength from all AP's end end when i'm running the following code, i get the same value for each element of rssi (serially i get different results) where is my problem? Creating some fake data and and implementing a simple LOSS function, I do not see a different between the serial and parallel execution. Does LOSS use any persistent or global variables? function [ rssi rssi2 ] = foo APLocation = rand(10); RXpoint = rand(10) * 5; for i=1:size(APLocation,1) point=APLocation(i,:); parfor j=1:length (RXpoint) rssi(i,j) = LOSS(point,RXpoint(:,j)'); end end for i=1:size(APLocation,1) point=APLocation(i,:); for j=1:length (RXpoint) rssi2(i,j) = LOSS(point,RXpoint(:,j)'); end end end function rv = LOSS( a,b ) rv = sum( a+b ); end "michael" <bezenchu@gmail.com> wrote in message news:ht0t0k$fce$1@fred.mathworks.com... > for i=1:size(APLocation,1) > point=APLocation(i,:); > parfor j=1:length (RXpoint) > rssi(i,j) = LOSS(point,RXpoint(:,j)'); %%rssi having the signal > strength from all AP's > end > end > > when i'm running the following code, i get the same value for each element ...

when I run a big program in matlab, I set a breakpoint in the *.m file, run to breakpoint , and save the data, exit matlab. Next time when I open matlab ,I load the data ,and hope to run from the position where I have set a breakpoint before. When I run some large program, I hope to run it as told above. How could I do it? Thank you! "chen xu" <chenxu796@qq.com> wrote in message <j2ah2g$hk3$1@newscl01ah.mathworks.com>... > when I run a big program in matlab, I set a breakpoint in the *.m file, run to breakpoint , and save the data, exit matlab. Next time when I open matlab ,I load the data ,and hope to run from the position where I have set a breakpoint before. > When I run some large program, I hope to run it as told above. How could I do it? There is no easy way to do it. Bruno ...

What is happening when I type rand(1:10) at the command line? Matlab goes into a 10 minute spin - what's going on? Thanks "Robert" wrote in message <j64asi$5v4$1@newscl01ah.mathworks.com>... > What is happening when I type > rand(1:10) > at the command line? > > Matlab goes into a 10 minute spin - what's going on? > Thanks Hi Robert, You're create a 10-D array with that syntax. Do you just want a vector of 10 uniformly distributed random numbers. x = rand(10,1); % or x = rand(1,10); Wayne Hi Wayne, You're right - that's what I was trying to do... but I was just newbie mucking about trying to work out the syntax and I typed that in - then had a looong wait for Matlab to work through it! Thanks for the explanation. Robert "Robert" wrote in message <j64d2h$dvo$1@newscl01ah.mathworks.com>... > Hi Wayne, > You're right - that's what I was trying to do... but I was just newbie mucking about trying to work out the syntax and I typed that in - then had a looong wait for Matlab to work through it! > Thanks for the explanation. > Robert That's fine. Welcome to MATLAB!!! If that's the worst memory-intensive mistake you ever make, you'll be fine :) I've done much, much worse. Wayne ...

Hey, Could some one please help me to find the errors in my m-files. thank, Marianne these are my matlab files and slm referes to simulink model that I mad: % This matlab script is used to call the constrained optimization routine % and solve the problem. % Defines the final time Tfinal=2; % Defines the integration step h=0.05; %computes the number of steps in the simulation N=Tfinal/h; % Defines the initial guess for the input %trajectory x0= zeros(N,1); %Defines the upper bound for the decision variables Xmax=10* ones(N,1); % Defines the lower bound for the decision variables Xmin=-10*ones(N,1); % Defines the optimization options, including the tolerance on the decision % vector 'TolX' and the tolerance on the function values 'TolFun'. % These Tolerances are used to determine the convergence of the % optimization algorithm. options=optimset('LargeScale', 'off',Display','iter',TolX,0.001,'TolFun',0.001); % Calls the 'fmincon' function to solve the optimization problem and stores % the optimal decision vector in X. X= fmincon ('obj_fun',x0,[],[],[],[],[],xmin,xmax,'con_fun',options,h,Tfinal); % Defines a time vector T. T=[0:h:Tfinal-h]'; % Defines an input vector for the simulation, including time. TU=[T x]; %defines the simulation options opt=simset('solver','ode5','SrcWorkspace','Current','Fixedstep',h); % Carries...

I am using guide to create a user interface. Amongst other components on the UI I have an axes component, which I am using imshow on to display an image. Is there a way that when the user presses the mouse on the axes I get the coordinate of the image where the user clicked? Thanks On 12/7/2011 3:50 AM, Aron Sceidt wrote: > I am using guide to create a user interface. Amongst other components on the UI I >have an axes component, which I am using imshow on to display an image. Is >there a way that when the user presses the mouse on the axes I get the >coordinate of the image where the user clicked? > > Thanks not sure about the 'image' bit. But you can try [X,Y] = GINPUT(N) gets N points from the current axes and returns the X- and Y-coordinates --Nasser Thanks Nasser, my problem however is that the axes is inside a UI amongst other components. I want to create a sort of method that when the user clicks somewhere on those axes (and not anywhere else on the UI) I get the point of the image.. Not sure if I am making myself clear enough. Thanks "Nasser M. Abbasi" <nma@12000.org> wrote in message <jbndqc$oaq$1@speranza.aioe.org>... > On 12/7/2011 3:50 AM, Aron Sceidt wrote: > > I am using guide to create a user interface. Amongst other components on the UI I > >have an axes component, which I am using imshow on to display an image. Is > >there a way that when the user presses the mouse on the axe...

hi Guys, I have the following problem. I have two handles to two excel files Excel_files Excel What I want to do is to copy the sheet "header" which is surely in to the sheet to the second sheet. I do this with the following command: Excel_files.Sheets.Item('header').Move(Excel.sheets.Item(1)) and I get the following error: ??? Invoke Error, Dispatch Exception: Source: Microsoft Office Excel Description: Move method of Worksheet class failed Help File: C:\Program Files\Microsoft Office\Office12\1033\XLMAIN11.CHM Help Context ID: 0 At the same time I do not get any problem in case of moving the sheet in the same file. This works. Excel_files.Sheets.Item('data').Move(Excel_files.Sheets.Item('sheet2')) Anyone can help me? thanks in advance I had exactly the same problem. But the problem seems happened quite random. I have a script which done dome simulation and output the simulated result into the excel spreadsheet and this error randomly happened during the process. For example, if the simulation is for 5 model, it might stop at 4th model or 3rd model unexpectedly. Anyone has any answer or solution to this? "william condemi" wrote in message <jbveq7$k4t$1@newscl01ah.mathworks.com>... > hi Guys, > > I have the following problem. I have two handles to two excel files > Excel_files > Excel > > What I want to do is to copy the sheet "header" which is surely in...

Hello everybody! I have a little problem and I hope have an answer here. Sorry for my bad english, I am french and I don't speak English very well. :) I have a very simple function J(x,A,B) which returns y =0.5*x'*A*x-B'*x; When I write in the script: a=[1;2] b=0.5*a'*An*a-Bn'*a; it works without problem and Matlab returns the value of b. (there is no problem with dimensions) but when I call the funtion J: b=J(a,An,Bn) Matlab displays a error: "Undefined function or method 'J' for input arguments of type 'double'." I don't understand where this error comes from. Can anyone help me? :=) On May 18, 5:46=A0am, "Raphael " <raphael.hert...@gmail.com> wrote: > Hello everybody! I have a little problem and I hope have an answer here. = Sorry for my bad english, I am french and I don't speak English very well. = :) > I have a very simple function J(x,A,B) which returns y =3D0.5*x'*A*x-B'*x= ; > > When I write in the script: > a=3D[1;2] > b=3D0.5*a'*An*a-Bn'*a; > it works without problem and Matlab returns the value of b. (there is no = problem with dimensions) > but when I call the funtion J: > b=3DJ(a,An,Bn) > Matlab displays a error: =A0"Undefined function or method 'J' for input a= rguments of type 'double'." > I don't understand where this error comes from. > Can anyone help me? :=3D) Show the code that defines the...

Any one know how to work this problem? In this exercise you are to compute a power of the diagonalizable matrix A. Let A = pascal(5). Use the eigenvalue decomposition of A to calculate the ninth power of A. You cannot apply the power operator ^ to the matrix A. "Lynn Koch" <ankrunner@aol.com> wrote in message news:jfca37$r46$1@newscl01ah.mathworks.com... > Any one know how to work this problem? > In this exercise you are to compute a power of the diagonalizable matrix > A. Let A = pascal(5). Use the eigenvalue decomposition of A to calculate > the ninth power of A. You cannot apply the power operator ^ to the matrix > A. AToNinth = (A+0)^9; The exercise just said you couldn't apply ^ to A; it said nothing about the expression A+0. The more serious answer is that this sounds like it's a homework problem and in general, the readers of this newsgroup won't help with homework problems unless the student shows what they've tried first. Show the group how you've started and you may receive some help; if you're not sure even where to begin, you should contact your teacher or TA and ask them to help you get started. -- Steve Lord slord@mathworks.com To contact Technical Support use the Contact Us link on http://www.mathworks.com ...

For this second project, we are asking you to find the global minimum of a function of two variables. The function is: min f(x1, x2) =3D (x1 2 + x2=E2=80=9011)2 + (x1+x2 2=E2=80=907)2+0.1[(x1=E2=80=903)2+(x2=E2=80=902)2] Where =E2=80=906 =E2=89=A4x1, x2 =E2=89=A46 The minimum is at (3, 2)T, and the value of the function at that point is 0. However, the function has three other local minima. Plot the design space to understand the behavior of the function. You are to first use a gradient based optimizer, and study the ability to converge on the global optimum from multiple starting locations in the feasible design space. Select 20 starting points randomly in the design space. Did you have a particular question, or just want someone to do your homework for you?? ...

Hello, I am using a matlab function "vitdec" to simulate viterbi decoding i awgn channel. I noticed a rather weird problem with it. When I increase th msglength the BER improves(eventually plateaus down), my understanding i that BEr improves with the traceback length. Attached is the matlab cod and the BERs I observed, traceback length was fixed to 15 for a constrain length of 3. Is there something wrong i am doing or is there a problem wit vitdec? your help will be greatly appreciated. Thanks ***************************************************************************** msglen: 15, 30, 300, 3000, 30000 BER: 2.1e-3, 8.2e-4, 1.5e-4, 9.5e-5, 8.7e-5 **************************************************************************** Matlab Code clear all snr=4; k=3;%constraint length msglen=30000;%msg length tblen=15;%traceback length for snr_idx=1:length(snr) p=sqrt(0.5)*(10^(-1*snr(snr_idx)/20)); no_bit_errors=0;no_bits=0; while no_bit_errors<100 msg = randint(1,msglen); % Random data t = poly2trellis(k,[7 5]); % Define trellis. [code fstate] = convenc(msg,t,0); % Encode the data. noise=p*randn(1,2*msglen); inp_bit=2*code-1; rec_bit=inp_bit+noise; [hrdout]= vitdec( (rec_bit>0), t, tblen, 'trunc', 'hard' ); no_bit_errors=no_bit_errors+sum(abs(msg-hrdout)); no_bits=no_bits+length(msg); end BER(snr_idx)=no...

I have installed a Matlab 2011a on a Windows 7 64bit OS. Will I be able to rum Matlab smoothly? Thanks RR ...

Hi All, I have trying to solve a huge problem and need to parallelize my computations desperately. I am using MATLAB 7.12.0 for my task and I have installed Yalmip with Sedumi 1.3 as a solver. I have the code below which does not work in parfor loop but the code says that it has Transparency problem in evalin. However, I checked here http://www.mathworks.com/matlabcentral/newsreader/view_thread/277938 No such problem about transparency is mentioned. Moreover, I have also done everything that has been said in the previous post. Can anyone kindly tell me as to what is the problem with my code? I am using Linux. parfor j=1:233956, yalmip('clear'); str = int2str ( j ); string = '/data/word_coordinates/'; str1 = '/data/scores/'; str1= strcat ( str1 , j ); fd = fopen ( str1 , 'w' ); str=strcat(string,str); file_coordinate_word = strcat ( str , '.wcor' );%this will be the .dic files if ( exist(file_coordinate_word,'file') == 0 ) continue end coordinate_vectors=dlmread(file_coordinate_word); numlines=length(coordinate_vectors); W=zeros(numlines,200); for coordinates=1:numlines, W(coordinates,1:200)=term_vectors(coordinate_vectors(coordinates),:); end D=document_vectors(j,:); b=sdpvar(1,numlines); e=ones(1,numlines,1); Constraints=[0<=b<=1,(b*e')==1]; solvesdp(Constraints,[],norm(D-b*W,2)); fprintf (fd ,'%d ...

Hello everyone, I have a matlab in class exercise due in few days. I am new to matlab and the instructions provided with the assignment is minimal. Can Someone help me with the basic understanding as in how can I map the problem's solution to matlab script ? I am not able to post question here as it is a jpeg file. Please let me know and then we can discuss further. ...

My problem with matlab script node is related to calling function in matlab. I created an m-file function that takes an imput temperature (from DAQ) and defines a material property. My matlab script node doesn't seem to recognize my function. I have placed the function in the folder the vi is currently located, but it doesn't read it. How do I get matlab script node to read the functions I create in matlab? Add the directory to matlab path, or call the .m file with it full name ( D:\..... \myfile.m) Let me clarify, I have pasted my matlab code into the matlab scrip node. In this code, I have called a subfunction that I have created. Example k(n)=k_c(T(n)) where k_c is a subfunction I have created. How do I get my code in the node to sucessfully read the subfunction k_c? As indicated, you need to add the directory where the .m file containing the function resides to the list of paths that are read in. This is your startup.m file. The other option is to do a "cd" command prior to calling your function to change to the directory where the .m file containing the function resides. Thanks for reiterating the information. My matlab script node is working properly. I had never used the "cd" command in matlab. I always set the working directory when I open the program, and put all the m files into t...

Working class, or proletarian novels are often also social problem novels . This was in many ways a reaction to rapid industrialization , and ...

... Volkswagen will recall the 5,561 e-Golf electric vehicles that it’s sold in the US since November 2014 due to a battery software problem, the ...

Filed under: Green , Recalls , Volkswagen , Safety , Hatchback , Electric Volkswagen will recall the 2015-2016 e-Golf to fix the electric motor ...

... Nicolaus ’s Patrick Ho , who cut his rating on the shares to Hold From Buy, and stripped away his $11 price target, writing that the problem ...

... terribly unfair – just to avoid contact with the 1% who might be infected with the radical islamic terror virus. Trump is approaching the problem ...

Only about 40% of Apple's customer base upgraded to a new iPhone in the last year or so, and some analysts have suggested that flagging upgrade ...

Trump's poor showing with women is turning the GOP's gender gap into a canyon, says Margie Omero. That will be a big problem in November.

It's not related to the forward airbag inflator, but the issue is no less serious.

"Their (Republicans') rhetoric is also counterproductive when it comes to protecting the American people. And that's a significant problem, particularly ...

In a speech to law students in Madison earlier this afternoon, Hillary Clinton made her strongest statements yet about the racism and extremism ...

Resources last updated: 3/30/2016 6:11:37 PM