Beantwortet
Fscanf help ( text file handling )
Hi, I would use fgetl to read a full line. Than I would check if [ ] exists in that line, e.g. with strfind. If so, remove the ...

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
How to use mex for C functions on MATLAB 7.10?
Hi, you moved from 32bit to 64bit. Beware that the size of some datatypes changes. The best way here is to debug your mex fil...

fast 15 Jahre vor | 0

Beantwortet
Matlab results display problem in VB
Hi, I would specify the class of ymDoubInteg: Dim myDoubInteg as You_Class_Name = New MyDoubleIntegral.MyDoubleIntegral ...

fast 15 Jahre vor | 0

Beantwortet
Error in VBAProject: ActiveX component can't create object
Hi, looks like your project DLL is not registered or one of the COM DLL's shipped with MATLAB. Please look here <http://ww...

fast 15 Jahre vor | 0

Beantwortet
subplot in matlab
Hi, do you mean this: subplot(9,3,1) plot(1:10) subplot(9,3,2) plot(1:10) %...and so on and finally sub...

fast 15 Jahre vor | 0

Beantwortet
mean value of array
Hi, I think you forgot to specify the dimension. Try C = mean([ A(B(:,1)), A(B(:,2))],2)

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
How to delete elements that have repeats in arrays
Hi, try this input= [2,3,4,4,5,6,2,2]; un_in = unique(input); n = hist(input,numel(un_in)); oputp...

fast 15 Jahre vor | 0

Beantwortet
simulataneous Curve fitting follow up
Hi, I think this won't work since you can't seperate the unknowns as needed. I can't think on any easy way to do it. I can'...

fast 15 Jahre vor | 0

Beantwortet
No video adapters available
Hi, Image Acquisition Toolbox requires Video 4 Linux 2. It looks like your have installed V4L1: <http://www.mathworks.com/help...

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
Does Parfor make a difference without Parallel Computing toolbox
Hi, parfor will run the loop in the reverse order if you dont have Parallel Computing Toolbox.

fast 15 Jahre vor | 2

Beantwortet
NI 6351 USB daq.getDevices does not work
Hi, daq.getDevices is part of the session based interface which will work with CompactDAQ Devices only: <http://www.mathwo...

fast 15 Jahre vor | 0

Beantwortet
error facing setting property of static text
Hi, do a dbstop if error in the MATLAB command line. Than run your program, push the button which raises the error a...

fast 15 Jahre vor | 0

Beantwortet
Reading a string and retriving data from the string.
Hi, I would use textscan and set the delimiter option to '_' out = textscan(str1,'%s %s %s','delimiter','_') After th...

fast 15 Jahre vor | 0

Beantwortet
Second order ODE with initial conditions
Hi, Based on this article (chapter 2.3) <http://www.math.tamu.edu/REU/comp/matode.pdf> I would do something like this: ...

fast 15 Jahre vor | 1

Beantwortet
Generating matlab model for veristand simulation
Hi, looks like the whitespaces in the path are making troubles here, e.g. 'C:\Program' is not recognized as an internal ...

fast 15 Jahre vor | 0

Beantwortet
I want Absolute numerical integral-sth like absolute trapz
Hi, as long as Y is positive trapez(X,Y) will work. You don't have to worry about negative X values, e.g. >> X = -0.5:0....

fast 15 Jahre vor | 0

Beantwortet
simulataneous Curve fitting
Hi, EDIT again full post to match better: %some x values x = 1:0.1:10; %some y values, normally you don't know h...

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
read an empty line in a file
Hi, try it with feof in the while loop. See here for an example: <http://www.mathworks.com/help/releases/R2011a/techdoc/re...

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
Why do I get 'undefined function' which I try to run the deploytool function?
Hi, deploytool is part of the MATLAB Compiler. Simulink Coder and MATLAB Coder doesn't ship the deploytool. <http://www.mathwo...

fast 15 Jahre vor | 1

| akzeptiert

Beantwortet
Clash with existing Jar files
Hi, the jar file containing the ImmutablesLists is: C:\Program Files\MATLAB\R2011a\java\jarext\google-collect.jar I t...

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
imwrite makes correct file, then errors
Hi, the only stuff I found is this: <http://www.mathworks.com/support/solutions/en/data/1-APY5VN/index.html> <http://ww...

fast 15 Jahre vor | 0

Beantwortet
Image from a double precision matrix
Hi, when deletung the 3rd dimension it gets a grayscale image. To do this you can use the rgb2gray function, e.g imwrite(rgb...

fast 15 Jahre vor | 0

Beantwortet
If statement
Hi, you can use if ismember(b,[1,2,5,6,8]) %b equals one of the number else %do something else end

fast 15 Jahre vor | 0

Beantwortet
the mode
Hi, is this about the mode function? If so there is a related post which give you several ways to do what you like to do: ...

fast 15 Jahre vor | 0

Beantwortet
finding pixel near border
Hi, maybe this: I =[ 1 0 0 0 0 1 0 1 0 0 1 0 0 ...

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
how to exit for loop
Hi, I think you have to use a flag flag = 0 for m=1:10 for n=1:sz(2) if(Isingle(m,n)==1) ...

fast 15 Jahre vor | 4

Beantwortet
How to display a list of instructions
Hi, I would recommend using a cell to hold these strings: roughness={'Select body roughness'; '(1) Smooth ...

fast 15 Jahre vor | 0

Beantwortet
Plotting 3D
Hi, try plot3: plot3(Cordinate(:,1),Cordinate(:,2),Cordinate(:,3),'*')

fast 15 Jahre vor | 0

Beantwortet
Save plot every second in different file image
Hi, in the function which is called from the timer (TimerFcn callback) before updating the plot you can save it. Lets say the T...

fast 15 Jahre vor | 1

| akzeptiert

Beantwortet
Why does ishandle(0) return 1?
Hi, yes 0 is the handle to the default settings/properties and because of this ishandle(0) returns 1.

fast 15 Jahre vor | 0

| akzeptiert

Mehr laden