Professional Interests: Software development, GUI building, Instrument Control, Data Acquisiton
Top 5% contributor
Perform a 2-port s-parameter measurement using the Instrument Control Toolbox.
1 month ago
One POSSIBLE solution if you are not considering a _timer_ object (and assuming that you have a relatively recent version of MAT...
Answered 5 years ago
Hi Corbin, Bug Report 531531 sounds like the issue you are running into. You can search for this bug report from the SUPPORT pa...
7 years ago
A very simple (but effective) way to do this is to use EVALIN to save the necessary variables in the base workspace to a MAT fil...
Hi Sid, With MATLAB and the Instrument Control Toolbox, you can use the UDP function to communicate between two MATLAB instance...
If I had to guess, I would think that 1/2 results in integer division which always yields 0, and this is then cast to double (0....
Answered 4 years ago
The value for CTRL-Z (^Z), is 26 (decimal value). So you could just try using FWRITE to send that value, in addition to all the ...
As Bruno says, that would be a breach of the MathWorks license agreement. Specific details here:
Hi N, This is easy to do when the user is entering text into a textbox of your MATLAB GUI. A number of UICONTROLS (included edi...
Hi Eneas, It appears that the HR4000 presents a USB as well as RS-232 interface. You can use the latter to interface this devic...
You mean,... something like this: M = This works perfectly, you might want to try this and see if this is what you are...
8 years ago
Hi David, This is an interesting use case. Since you seem to have a valid license that is on maintenance, I would recommend con...
Correct, the Image Acquisition Toolbox is only supported on 32-bit windows for now. As for the 2nd question, do you mean 32-b...
Can you please expand on the question a bit? It would help if you could sketch out a very simple example example with maybe jus...
Off the top of my head:
function [N1, N2] = fieldCount(inputStruct)
N1 = 0;
N2 = 0;
for i = 1: numel(inputStruct)
You could store the image data into a database as a BLOB (Binary Large Object). I know you can do this in MySQL, you need to che...
Please try adding the path to the C++ library inside the file: librarypath.txt
1. From the MATLAB command prompt:
What you are asking for is a "hardware trigger". You could check if your VIDEOINPUT object supports hardware triggers by using t...
As Matt mentioned, UITABLE wasn't really supported/documented till R2008a and was not (in 7a) nearly as powerful as it is today....
<http://www.mathworks.com/company/newsletters/news_notes/win03/tracking.html Tracking Objects>
Look at the section titled: "O...
Answered 6 years ago
Check if sorted.
Input x = [1 2 0]
Output y is 0
4 years ago
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN.
Remove the nth column from input matrix A and return the resulting matrix in output B.
A = [1 2 3; 4 5 6];
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
Given a and b, return the sum a+b in c.
Given the input n, return true if n is odd or false if n is even.
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
Find the sum of all the numbers of the input vector x.
Input x = [1 2 3 5]
Output y is 11
Input x ...
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
Hi Marty, When you say C# solution centered around MATLAB, do you mean to say that you created a .NET component or a COM compon...
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries