This was a problem related to permission right, I had to acces to the device as an admin to be able to communicate with it.

ongeveer een jaar ago | 0

| accepted

Nyquist plot from 0 to Inf (only frequencies > 0)
If you specify the frequency as W = {WMIN,WMAX} WMIN and WMAX are real frequencies satisfying 0<=WMIN<WMAX<=Inf. So by settin...

ongeveer een jaar ago | 0

How can the output be written in a new column (without overwriting the previous one)
You can use cell for that. You can try and adapt the following example: a=cell(3,1); for i=1:3 a{i}=ones(i,1); end a ...

ongeveer een jaar ago | 0

how to use two for loop in one matlab program

ongeveer een jaar ago | 0

How to solve: Error using "csvread". Too many output arguments
As the error says, you are requesting two many outputs arguments. The function 'csvread' only returns one output.

ongeveer een jaar ago | 0

Question

Hi, From the help of this component: https://mathworks.com/help/instrument/serialreceive.html?searchHighlight=serial%20recei...

ongeveer een jaar ago | 1 answer | 0

### 1

How to solve a 2D PDE with backward Euler?
At line 58, you are trying to access the 11th element of the Number matrix, but its dimensions are 10 x 10, so you get an error....

ongeveer een jaar ago | 0

| accepted

Appending data with different sizes
The easiest way would be the following something like this: a = [1 2 3]; b = [4 5 6 7]; n=size(b,2) a_bis=[a zeros(1,n)]; c...

meer dan een jaar ago | 0

help regarding controllability of input matrix
Is the matrix V completely free ? If you can actually add any input to your system, why don't you simply define C = eye(3) ...

meer dan een jaar ago | 0

I need to view frequency spectrum with 50 kHz, 100 kHz and 150 kHz only of a time a signal (x) with 2000 kHz sampling frequency.How to do ?

meer dan een jaar ago | 0

where is the error ?
In the command line, where you defined v, call the function this way: >> v= [1 2 3 ;4 5 6]; >> mini(v)

meer dan een jaar ago | 0

Modbus TCP/IP localhost
This was a firewall issue. Ubuntu has a built-in firewall that one can deactivate using this solution: <https://askubuntu.com/q...

meer dan een jaar ago | 0

| accepted

Matlab to Python ( dot product and dot divide equivalents )
Please refer to: http://mathesaurus.sourceforge.net/matlab-numpy.html or https://docs.scipy.org/doc/numpy/user/numpy-for-matl...

meer dan een jaar ago | 0

Forced step response of a signal
You can set the initial values of the step using stepDataOptions: <https://mathworks.com/help/control/ref/stepdataoptions.html>...

meer dan een jaar ago | 0

Help with animating a line correctly
Is this what you're looking for: %This for loop is what does the drawing for idx = 1:length(t) figure(1); clf; ...

meer dan een jaar ago | 1

| accepted

Calling Maple from Matlab
_Maple_ is not a built-in function that you can call in matlab. If you have installed Maple on your computer, you can launch ...

meer dan een jaar ago | 0

Question

Modbus TCP/IP localhost
Hi, I would like to set up a modbus communication using TCP/IP. In order to test it, I wanted to set the communication bet...

meer dan een jaar ago | 1 answer | 0

### 1

You cannot compute A+B. You can only compute the sum for each column: A+B ans = 2 1 1 1 1 ...

meer dan een jaar ago | 0

find eigenvalues of a very large sparse matrix
Dod you have a look at _eigs_ ? <https://mathworks.com/help/matlab/ref/eigs.html>

meer dan een jaar ago | 1

Verification problem-absolute/relative error
Are you working with floating point numbers? Have a look here: <https://mathworks.com/help/matlab/ref/eq.html#bt2klek-3>

meer dan een jaar ago | 0

| accepted

Using an existing vector in a .M file

meer dan een jaar ago | 0

How to extract a specific value from a loop.
_t_ is your time variable, so you have to use it to test if it's equal to 2seconds. if t==2 % assumes your time units i...

meer dan een jaar ago | 0

| accepted

Solved

Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...

meer dan een jaar ago

Solved

Joining Ranges
You are given a n-by-2 matrix. Each row represents a numeric range, e.g. x = [0 5; 10 3; 20 15; 16 19; 25 25] contains...

meer dan een jaar ago

Solved

Return a list sorted by number of consecutive occurrences
Inspired by Problem 38 by Cody Team. Given a vector x, return a vector y of the values in x sorted by the number of CONSECUTIVE...

meer dan een jaar ago

Solved

Create logical matrix with a specific row and column sums
Given two numbers *|n|* and *|s|*, build an |n-by-n| logical matrix (of only zeros and ones), such that both the row sums and th...

meer dan een jaar ago

Solved

Piecewise linear interpolation
Given an Mx2 vector and a row of M-1 integers, output a two column vector that linearly interpolates Y times between each succes...

meer dan een jaar ago

Solved

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

meer dan een jaar ago

Solved

Some Assembly Required
The input to this function is a matrix of real numbers. Your job is to assemble the rows of the matrix into one large row that ...

meer dan een jaar ago