Feeds
已回答
randomly select elements of an array
Use "randsample" For array: Arry = [1 4 5 7 8 9]; Smpl = randsample(Arry, 3) For strings: Arry = ["Yellow" "Green" "Blue" "...
randomly select elements of an array
Use "randsample" For array: Arry = [1 4 5 7 8 9]; Smpl = randsample(Arry, 3) For strings: Arry = ["Yellow" "Green" "Blue" "...
3 years 前 | 0
已回答
How to find and access a file / folder on the entire hard drive with Matlab?
I would not recommend performing the search itself directly in matlab. Instead I would invoke the system search using the "syste...
How to find and access a file / folder on the entire hard drive with Matlab?
I would not recommend performing the search itself directly in matlab. Instead I would invoke the system search using the "syste...
4 years 前 | 0
已回答
How do I check a each element of a 2 x n matrix for values to remove?
Is your lens a spherical lens, in which case there is a very simple solution (Google intersection of line with sphere: Wiki). D...
How do I check a each element of a 2 x n matrix for values to remove?
Is your lens a spherical lens, in which case there is a very simple solution (Google intersection of line with sphere: Wiki). D...
4 years 前 | 0
| 已接受
已回答
How can I convert this image in binary image such that region inside red curve is filled with white while rest with black?
Your question is quite vague and the methodology and results depend very much on how the images vary. Remember that the compute...
How can I convert this image in binary image such that region inside red curve is filled with white while rest with black?
Your question is quite vague and the methodology and results depend very much on how the images vary. Remember that the compute...
4 years 前 | 0
已回答
Big 3D gridded data set
If you really do need all the data, then you can also use "matfile". You bascially then have a cell-array of matfile objects and...
Big 3D gridded data set
If you really do need all the data, then you can also use "matfile". You bascially then have a cell-array of matfile objects and...
4 years 前 | 0
已回答
Load text file from subfolder
BaseDir = 'BaseDir'; % Change string to base folder tmp = dir(BaseDir); % Obtains list of files ...
Load text file from subfolder
BaseDir = 'BaseDir'; % Change string to base folder tmp = dir(BaseDir); % Obtains list of files ...
4 years 前 | 0
已回答
How to make and use many fast functions in Matlab?
My recommendation would be to write a class which would significantly reduce the redundancy in your code. You can use dependent ...
How to make and use many fast functions in Matlab?
My recommendation would be to write a class which would significantly reduce the redundancy in your code. You can use dependent ...
6 years 前 | 0
已回答
Plotting from a loop in a live script in Matlab 2016b
There is a slight workaround, which works in version 2017b (no need to manually create the axes, replace this and the title line...
Plotting from a loop in a live script in Matlab 2016b
There is a slight workaround, which works in version 2017b (no need to manually create the axes, replace this and the title line...
7 years 前 | 1
已回答
Camera identified by hardware detection application but doesn't show up in image acquisition tool
With regards to copying the data, there is an alternative method, but exactly what use it is I do not know. I've actually manage...
Camera identified by hardware detection application but doesn't show up in image acquisition tool
With regards to copying the data, there is an alternative method, but exactly what use it is I do not know. I've actually manage...
9 years 前 | 0
已回答
What's wrong with this expression?
Are a, b, & c scalars. If so: y = a*exp(-((x-b)/c).^2); However, a more general version makes use of bsxfun ( <http://matlab...
What's wrong with this expression?
Are a, b, & c scalars. If so: y = a*exp(-((x-b)/c).^2); However, a more general version makes use of bsxfun ( <http://matlab...
9 years 前 | 0
已回答
Cylindrical to rectangular correction in image processing
Create projected co-ordinates of original image [Ny, Nx] = size(Img); x = (1:Nx).'; y = (1:Ny).'; Create original ...
Cylindrical to rectangular correction in image processing
Create projected co-ordinates of original image [Ny, Nx] = size(Img); x = (1:Nx).'; y = (1:Ny).'; Create original ...
9 years 前 | 0
已回答
How to write a Monte Carlo Simulation Code?
Your question is ill-defined. Monte-Carlo simulations simply mean perform your simulation with varying inputs such that the i...
How to write a Monte Carlo Simulation Code?
Your question is ill-defined. Monte-Carlo simulations simply mean perform your simulation with varying inputs such that the i...
9 years 前 | 2
已回答
How to show a sequence of images
You need to either add a callback function to the image/figure to respond to user key presses or mouse clicks, or you could add ...
How to show a sequence of images
You need to either add a callback function to the image/figure to respond to user key presses or mouse clicks, or you could add ...
9 years 前 | 0
已回答
Matlab OOP, dependent class properties, correct coding techiques
I generally just ignore this warning - you can turn it off for the line, file or all files (I've done the latter). In your sc...
Matlab OOP, dependent class properties, correct coding techiques
I generally just ignore this warning - you can turn it off for the line, file or all files (I've done the latter). In your sc...
9 years 前 | 1
| 已接受
已回答
How can I use MATLAB to estimate the parameters of an exponential-gamma convolution?
Simple solution v = fminsearch(@(v) sum(abs(Data - YourGammaConvolutionFunction(v(1), v(2), v(3))).^2), [v01 v02 v03]); ...
How can I use MATLAB to estimate the parameters of an exponential-gamma convolution?
Simple solution v = fminsearch(@(v) sum(abs(Data - YourGammaConvolutionFunction(v(1), v(2), v(3))).^2), [v01 v02 v03]); ...
9 years 前 | 0
已回答
How to prepare data set from an Image to find out number of clusters automatically?
What do you mean cluster? The image processing toolbox has functions for doing this (if you mean a cluster is when all adjacent ...
How to prepare data set from an Image to find out number of clusters automatically?
What do you mean cluster? The image processing toolbox has functions for doing this (if you mean a cluster is when all adjacent ...
9 years 前 | 0
| 已接受
已回答
How to continue GPIB reading with fscanf after EOI?
Try using fgetl to read the whole line, and then you can perform some error checking or different parsing rules. Also, surely...
How to continue GPIB reading with fscanf after EOI?
Try using fgetl to read the whole line, and then you can perform some error checking or different parsing rules. Also, surely...
9 years 前 | 0
已回答
Nested For loops- Pleeease HELP!!
* Your code could easily be vectorized. * *never* use i or j for indexing because these are used for sqrt(-1) and can easily c...
Nested For loops- Pleeease HELP!!
* Your code could easily be vectorized. * *never* use i or j for indexing because these are used for sqrt(-1) and can easily c...
9 years 前 | 0
已回答
Which camera should i use to acquire real time video to matlab
If you cannot narrow down your choice based on specifications, pick any! http://uk.mathworks.com/hardware-support/basler-came...
Which camera should i use to acquire real time video to matlab
If you cannot narrow down your choice based on specifications, pick any! http://uk.mathworks.com/hardware-support/basler-came...
9 years 前 | 0
已回答
Logical or not logical?
* All numbers are by default of class type "double" (unless specifically cast as int etc.). * Logical values are of class "logi...
Logical or not logical?
* All numbers are by default of class type "double" (unless specifically cast as int etc.). * Logical values are of class "logi...
9 years 前 | 2
已回答
Positive Semi-definite Matrix Problem
FYI: C' is conjugate transpose - you should use C.' if you don't want the complex conjugate. If it is indeed due to a numeric...
Positive Semi-definite Matrix Problem
FYI: C' is conjugate transpose - you should use C.' if you don't want the complex conjugate. If it is indeed due to a numeric...
9 years 前 | 0
已回答
Which camera should i use to acquire real time video to matlab
Look here http://uk.mathworks.com/hardware-support/index.html?q=product%3A%22Image%20Acquisition%20Toolbox%22 It took about ...
Which camera should i use to acquire real time video to matlab
Look here http://uk.mathworks.com/hardware-support/index.html?q=product%3A%22Image%20Acquisition%20Toolbox%22 It took about ...
9 years 前 | 0
已回答
How can i make a Moving Average Filter of order 4 for removing the noise from signal?
It doesn't look like you have fs=10kHz in (2) since you are aliasing that signal. Anyway, filtering can be achieved using the f...
How can i make a Moving Average Filter of order 4 for removing the noise from signal?
It doesn't look like you have fs=10kHz in (2) since you are aliasing that signal. Anyway, filtering can be achieved using the f...
9 years 前 | 0
已回答
Camera identified by hardware detection application but doesn't show up in image acquisition tool
There are a couple of methods: # Write a dll C-wrapper that can interface between Matlab and the uEye SDK and then use the lo...
Camera identified by hardware detection application but doesn't show up in image acquisition tool
There are a couple of methods: # Write a dll C-wrapper that can interface between Matlab and the uEye SDK and then use the lo...
10 years 前 | 3
已回答
Controlling uEye µEye camera in Matlab with shared library by loadlibrary
The issue is not quite to do with handling pointers - Matlab does that quite well when connecting to DLLs - you have to pass a d...
Controlling uEye µEye camera in Matlab with shared library by loadlibrary
The issue is not quite to do with handling pointers - Matlab does that quite well when connecting to DLLs - you have to pass a d...
10 years 前 | 0
| 已接受
已回答
Unable to detect IDS uEye camera
I didn't get far using this route (it was my initial plan and I purchased the IMAQ toolbox just for this purpose). Anyway, the w...
Unable to detect IDS uEye camera
I didn't get far using this route (it was my initial plan and I purchased the IMAQ toolbox just for this purpose). Anyway, the w...
10 years 前 | 4
| 已接受
已回答
ActiveX, Camera uEye
ActiveX uses the COM interface, which is now no longer supported by IDS (uEye cameras). It is now recommended to use the .NET in...
ActiveX, Camera uEye
ActiveX uses the COM interface, which is now no longer supported by IDS (uEye cameras). It is now recommended to use the .NET in...
10 years 前 | 1
| 已接受
已回答
uEye USB camera in Matlab?
There are a couple of methods: # Write a dll C-wrapper that can interface between Matlab and the uEye SDK and then use the lo...
uEye USB camera in Matlab?
There are a couple of methods: # Write a dll C-wrapper that can interface between Matlab and the uEye SDK and then use the lo...
10 years 前 | 1
| 已接受
已回答
Capture and Display image set using .NET library
Check out this post: http://stackoverflow.com/a/24937766 I've written a little function that will load the assembly if requir...
Capture and Display image set using .NET library
Check out this post: http://stackoverflow.com/a/24937766 I've written a little function that will load the assembly if requir...
10 years 前 | 0