답변 있음
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 ...

거의 15년 전 | 0

| 수락됨

답변 있음
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...

거의 15년 전 | 0

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

거의 15년 전 | 0

답변 있음
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...

거의 15년 전 | 0

답변 있음
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...

거의 15년 전 | 0

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

거의 15년 전 | 0

| 수락됨

답변 있음
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...

거의 15년 전 | 0

답변 있음
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'...

거의 15년 전 | 0

답변 있음
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...

거의 15년 전 | 0

| 수락됨

답변 있음
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.

거의 15년 전 | 2

답변 있음
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...

거의 15년 전 | 0

답변 있음
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...

거의 15년 전 | 0

답변 있음
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...

거의 15년 전 | 0

답변 있음
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: ...

거의 15년 전 | 1

답변 있음
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 ...

거의 15년 전 | 0

답변 있음
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....

거의 15년 전 | 0

답변 있음
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...

거의 15년 전 | 0

| 수락됨

답변 있음
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...

거의 15년 전 | 0

| 수락됨

답변 있음
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...

거의 15년 전 | 1

| 수락됨

답변 있음
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...

거의 15년 전 | 0

| 수락됨

답변 있음
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...

거의 15년 전 | 0

답변 있음
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...

거의 15년 전 | 0

답변 있음
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

거의 15년 전 | 0

답변 있음
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: ...

거의 15년 전 | 0

답변 있음
finding pixel near border
Hi, maybe this: I =[ 1 0 0 0 0 1 0 1 0 0 1 0 0 ...

거의 15년 전 | 0

| 수락됨

답변 있음
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) ...

거의 15년 전 | 4

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

거의 15년 전 | 0

답변 있음
Plotting 3D
Hi, try plot3: plot3(Cordinate(:,1),Cordinate(:,2),Cordinate(:,3),'*')

거의 15년 전 | 0

답변 있음
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...

거의 15년 전 | 1

| 수락됨

답변 있음
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.

거의 15년 전 | 0

| 수락됨

더 보기