First
|
Prev |
Next
|
Last
Pages: 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654
Input a filename, then load the file Hi everyone, I need to input the name of a file, or input the path into a function to load that file. However, that file has to be retrieved from a directory that is not in the current directory. I tried to use addpath('.....'), but putting addpath under the first function line, it doesn't work; MATLAB will just ... 21 May 2010 13:54
solving system of non linear equation i have a problem with 7 variables theta1,x3,y3,x2,y2, y1,arm1; & the 7 equations are: theta1=(x3- x(j))*(theta(j+1)-theta(j))/(x(J+1)-x(j)); y3=(x3- x(j))*(y(j+1)-y(j))/(x(J+1)-x(j)); x2=x4+b*cosd(theta1)-h*sind(theta1); y2=y4+b*sind(theta1)+h*cosd(theta1); x1=x2-arm1*cosd(theta1) y1=y2-arm1*sind(theta1); x... 21 May 2010 15:00
Warning: No display specified. You will not be able to display graphics on the screen. Hi, I am using matlab compiler to launch matlab code through CGI. I am testing locally only, for the moment (MAMP on MacOSX snow leopard). When the script is launched through CGI but, I am getting this warning : "Warning: No display specified. You will not be able to display graphics on the screen." whereas... 21 May 2010 12:47
Save (i)th variable from a structure to an individual text file with dynamic file name I wrote this code data=repmat([1:1:5],5,1); test.input=[]; test.output =[]; for i=1:5 test.input(:,:,i)= data(:,:); test.output(:,:,i)=data(:,:).*i; name = ['lwp_',num2str(i),'.txt']; dt = test.output(:,:,i); save name dt; end clear i name dt; What I would like to get out of this i... 21 May 2010 15:00
Error message: Warning: Initializing Java preferences failed in matlabrc. I get the following message when I start matlab. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Warning: Initializing Java preferences failed in matlabrc. This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was: MATLAB:inputArgUndefined Input argu... 21 May 2010 12:47
how to solve a complex equation with symbolic coefficients? the equation is like this solve('y*pi/b0=0.5*log((sqrt(a2+v^2)+v)/(sqrt(a2+v^2)-v))+2*gp/b0*atan(2*gp/b0*(v/sqrt(a2+v^2)))','v') 1. actually I have know the value of the coefficients in the equation, but how to transfer these value before the 'solve' command 2. It can't work out in matlab even if I syms y bo a... 21 May 2010 16:07
Writing data into textfile I have some results in my matlab program that I want to export them in text file . does any one know how I can do this : This is my data : pvariance= 1.465 ns=6 degfree= 27 L=[ 1 1 1 0 ] X= [ 10 , 11, 12, ,13 ,14 ,15 ] Qx= 1 0 0 2 3 0 4 5 6 Text file must be like this ... 23 May 2010 11:21
Two way flow through pipe "Shankar Akella" <sakella72.nospam(a)gmail.com> wrote in message <fupkp2$fq8$1(a)fred.mathworks.com>... "Adam Budde" <ajbudde(a)wisc.edu> wrote in message <fup585$8jo$1(a)fred.mathworks.com>... I am trying to create a model where flow can go either forwards or backwards through a pipe. The Transport delay ... 21 May 2010 11:41
multiple inversions Hi, I have this problem i want to solve the system Ax=b, multiple times likes this A matrix is always the same. b changes in every iteration. for i=1:large_number x(:,i)=A\b(:,i) end Wouldn't be faster is I calculate the inverse of A matrix once, and then use it like this for i=1:large_number ... 21 May 2010 19:26
PWM block in Target Support Package TC2 Hello everyone I am implementing a three phase inverter. I have eZdsp f2812 kit. I use Simulink Target Support Package TC2 for software. But I don't understand the PWM block exactly. "Simulation of FOC Using PMSM Model" and "Permanent Magnet Synchronous Motor Field-Oriented Control" demos in PWM bock; Waveform Per... 24 May 2010 03:40 |