|
Segmentation violation while running C-Mex file Friends, Have a good day...! I would appreciate if someone can help me to solve following problem. I'm facing a segmentation violation error while running a C -Mex file(Image filtering). The error is highly unpredicatable. I have gone through the code many times. The characteristics of error is: (1) Sometimes e... 17 Mar 2010 01:24
Importing Data from Excel to MATLAB in Real Time Hi, I want to import data from an Excel file onto MATLAB in realtime. I am currently importing using a xlsread(), processing the data and then plotting it using the tools on MATLAB. Consequently, the data I see is only valid for the time at which it was imported. Is there a way to make it constantly refresh and update... 17 Mar 2010 01:24
mex error on 64-bit Mac OS 10.6 (running 32 bit Matlab) In addition to the CFLAGS and CXXFLAGS, I also added the "-arch i386" to LDFLAGS, and that did the trick for me! I hope it helps you. "Samuel Rivera" <eldadosuto(a)yahoo.com> wrote in message <hk57tl$4rh$1(a)fred.mathworks.com>... Has this issue been resolved? I am having the same problem, but -arch i386 is alre... 17 Mar 2010 01:24
second order response to an impulse Hello, I am trying to model data to fit a second order response to an impulse. I am using state space representation, which I think is slightly easier for me to grasp - I was wondering if doing it in this way is mathematically sound. With my second order response, I have an omega_n (undamped natural frequency), ze... 17 Mar 2010 00:18
HttpMethodDirector - Credentials cannot be used for NTLM authentication This problem has been succesfully fixed in most recents MatLab version. For MatLab 2009a and olders version exist a patch provided by MatWorks. ... 16 Mar 2010 23:12
fsolve nonlinear equation hi,every one i want to solve following code with fsolve commmand but i couldnt,i am new in matlab,please any body help me out from my problem. main programe is gul function... function Y = gul(x,t,hw,zo,sigy,P,M,bf,tw,b,tf,ht) syms z k=t+hw-zo; a=ht-zo-x(2); c=t-zo; d=-zo; sigz=((((sigy-x(1))/(ht-x(2)))*(... 16 Mar 2010 23:12
Interfacing MATLAB with BASIC Stamp 2 Hi, My name's Allan and I'm a senior engineering student at the George Washington University. For my design project, I would like to create a GUI in MATLAB that would allow me to interface with a BASIC Stamp microcontroller to control a set of stepper motors. I have already created a GUI in MATLAB for another part o... 16 Mar 2010 23:12
Using the system function to clean a C++ project So I have a problem that contains a few parts I am trying to run the following command prompt code in MATLAB C:\>"File Name With Spaces\devenv.exe" "File Name With Spaces.vcproj" /Clean I have tried many options but I run into a few problems 1) You must have administrator privileges to run devenv.exe is th... 16 Mar 2010 23:12
How to find multiple points of intersection from 2D curves? Here are my equations for the curves. J0 = @(x) besselj(0,x); Y0 = @(x) bessely(0,x); From 0 to 10*pi, I want to find all the points of intersection using code rather than looking at the graph. From the graph, it looks like there's intersections at x = 1.638, 4.738, 7.869, 11.007, 14.146, 17.286, 20.426, 23.56... 17 Mar 2010 00:18
error message with linspace my matlab R2009a suddenly started giving error message with linspace. the error is copied and pasted verbatim below. EDU>> y = linspace(2,-2) Error in ==> linspace at 1 function y = linspace(d1, d2, n) ??? Output argument "y" (and maybe others) not assigned during call to "/Users/innocentugwu/Desktop/MATLAB_... 16 Mar 2010 23:12
Can MATLAB warn you when you when you redefine existing Grant Rettke <grettke(a)gmail.com> wrote in message <2754eb3e-b623-40c4-9548-f566c2b24fe1(a)30g2000yqi.googlegroups.com>... Having just installed 2010a I tried running this: sum = 0; for i=1:10; sum = sum + i; end sum The 'sum' function was redefined, but I did not see any complaints, at ... 17 Mar 2010 00:18
How to count time stamps in a mat file I am super new to MATLAB. I have huge chunks of data and I would like to to find out the amount of time a particular data value is above or below 0 . I want to count the total time when my value on the y axis is above or below zero as percentage of total time. Even a histogram showing the amount of time the data value... 16 Mar 2010 22:05
Adapting histfit.m to tfit.m Hello I want to know how Adapting histfit.m to tfit.m? I want to fitting my data using pdf t distribution Thanks before ... 16 Mar 2010 22:05
Speeding up MATLAB created C/C++ shared libraries "Jordan " <tightsight(a)gmail.com> wrote in message <hb85tq$pse$1(a)fred.mathworks.com>... "Steven Lord" <slord(a)mathworks.com> wrote in message <hb7gje$icf$1(a)fred.mathworks.com>... "Jordan " <tightsight(a)gmail.com> wrote in message news:hb7c0h$geb$1(a)fred.mathworks.com... Hi all. I am having a pro... 16 Mar 2010 22:05
Simulink fixed step solver Hi, I'm having trouble getting a fixed step solver in Simulink to give reasonable results. I have a controller and model in Simulink which simulates fine when using ode23s (fast and slow dynamics present). Even when I change the max and min step size to almost the same (0.0049 and 0.005) the simulation runs fin... 16 Mar 2010 22:05
Fixed Step Solvers in Simulink Hi, I have created a model and controller which simulate well using ode23s in Simulink. I've used a stiff solver as I have dynamics which are very fast and very slow. I need to switch to a fixed step solver to interface my controller with a high fidelity pre-compiled model (mex32). My problem is that when I r... 16 Mar 2010 20:57
PSO toolbox for latest Matlab versions "Trish R" <RTRambharose(a)gmail.com> wrote in message <h588of$sqa$1(a)fred.mathworks.com>... Hi friends, I too am working on ANN Training with PSO, in Matlab. I Have used the Brian Birge PSO toolbox with Matlab version 5, but I as yet I can not locate a Matlab PSO toolbox that works with the latests versions of M... 16 Mar 2010 19:49
??? Error using ==> plot. Vectors must be the same lengths. Matlab Help: Please run code to see if you can fix it. I need to find a way to make fi_first into a vector with 81 points. It is currently 80. I need to do this in one looping construct like below. Thanks. clear all clc a = 250; %a is > 0 N = 80; L = 400; h = L/N; t = 0.5; for i = 1:81 x(i) = (i-1) * h;... 16 Mar 2010 23:12 |