Respondida
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 ...

más de 14 años hace | 0

| aceptada

Respondida
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...

más de 14 años hace | 0

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

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

Respondida
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...

casi 15 años hace | 0

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

casi 15 años hace | 0

| aceptada

Respondida
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...

casi 15 años hace | 0

Respondida
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'...

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 0

| aceptada

Respondida
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.

casi 15 años hace | 2

Respondida
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...

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 0

Respondida
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: ...

casi 15 años hace | 1

Respondida
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 ...

casi 15 años hace | 0

Respondida
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....

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 0

| aceptada

Respondida
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...

casi 15 años hace | 0

| aceptada

Respondida
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...

casi 15 años hace | 1

| aceptada

Respondida
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...

casi 15 años hace | 0

| aceptada

Respondida
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...

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 0

Respondida
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

casi 15 años hace | 0

Respondida
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: ...

casi 15 años hace | 0

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

casi 15 años hace | 0

| aceptada

Respondida
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) ...

casi 15 años hace | 4

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

casi 15 años hace | 0

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

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 1

| aceptada

Respondida
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.

casi 15 años hace | 0

| aceptada

Cargar más