Answered

Is the future matlab GUI: Apps, or figures, or both?

Its almost 2020 and App designer seems to be lacking many useful features of GUIDE. The latter on the other hand has terrible is...

Is the future matlab GUI: Apps, or figures, or both?

Its almost 2020 and App designer seems to be lacking many useful features of GUIDE. The latter on the other hand has terrible is...

6 mois ago | 0

Answered

Is Intel's RealSense camera supported by the Image Acquisition Toolbox?

The above answer from MW staff is weird. I got Intel realsense SR300 and have 2017a IMAQ toolbox with generic OS webcam hardware...

Is Intel's RealSense camera supported by the Image Acquisition Toolbox?

The above answer from MW staff is weird. I got Intel realsense SR300 and have 2017a IMAQ toolbox with generic OS webcam hardware...

12 mois ago | 0

Answered

How to connect Intel Real Sense with Matlab??

Realsense cameras (atleast the one I got -SR300) have various channels. E.g. vir = videoinput('winvideo', 3, 'INVZ16_640x480') g...

How to connect Intel Real Sense with Matlab??

Realsense cameras (atleast the one I got -SR300) have various channels. E.g. vir = videoinput('winvideo', 3, 'INVZ16_640x480') g...

12 mois ago | 0

Answered

small values result in empty isosurface plot

I just noticed that there is a glitch in implementation, essentially inside a helper function. If the data (the last input varia...

small values result in empty isosurface plot

I just noticed that there is a glitch in implementation, essentially inside a helper function. If the data (the last input varia...

plus d'un an ago | 0

Answered

Why does the BEEP function produce no sound?

I just discovered that if you change the default system beep sound in OS preferences while Matlab is open, beeps in Matlab will ...

Why does the BEEP function produce no sound?

I just discovered that if you change the default system beep sound in OS preferences while Matlab is open, beeps in Matlab will ...

presque 2 ans ago | 0

Submitted

BASLER GenTL Producer Drivers for USB3 cameras

GenTL Producer Drivers for using Basler USB3 camera with Matlab

presque 3 ans ago | 13 downloads |

Answered

why this error "Unable to check out the Simulink Coder license which is required to generate code"?

The error pops up when user tries to use a function in an installed toolbox/product but corresponding licence couldn't be found....

why this error "Unable to check out the Simulink Coder license which is required to generate code"?

The error pops up when user tries to use a function in an installed toolbox/product but corresponding licence couldn't be found....

plus de 3 ans ago | 0

| accepted

Answered

Running out of memory

If xls format is not critical requirement, you may want to use fileIO operations and produce a csv (or some text delimited) form...

Running out of memory

If xls format is not critical requirement, you may want to use fileIO operations and produce a csv (or some text delimited) form...

plus de 3 ans ago | 0

Answered

Size mismatch for MATLAB expression 'unique'. Expected = 1x1 Actual = 8x1

Size mismatch error is a result of unmatched dimensions in signals. The block being driven by embedded function block is expecti...

Size mismatch for MATLAB expression 'unique'. Expected = 1x1 Actual = 8x1

Size mismatch error is a result of unmatched dimensions in signals. The block being driven by embedded function block is expecti...

plus de 3 ans ago | 0

Answered

The interpolation interp1 command is taking wrong values.

Generally, Ne and Temax are expected to be vectors. It is not clear why the statement is inside a loop. If you want to find inte...

The interpolation interp1 command is taking wrong values.

Generally, Ne and Temax are expected to be vectors. It is not clear why the statement is inside a loop. If you want to find inte...

plus de 3 ans ago | 0

Question

Prediction with Narxnet without future inputs

I'm a bit confused if prediction with Narxnet requires knowledge of future input. Documentation defines Narxnet as dependent onl...

plus de 4 ans ago | 1 answer | 0

Answered

How do I calculate the packet delay for a GigE Vision camera to prevent dropped frames?

On my camera (Basler ACE2500 14gm), packetSize setting behaves in a manner opposite to what's been described here. The default p...

How do I calculate the packet delay for a GigE Vision camera to prevent dropped frames?

On my camera (Basler ACE2500 14gm), packetSize setting behaves in a manner opposite to what's been described here. The default p...

plus de 4 ans ago | 0

Answered

slope to a circle

For you. Cheers. function coordinates = arc(C,R,inplane,normal,t) % ARC function generates coordinates to draw a circula...

slope to a circle

For you. Cheers. function coordinates = arc(C,R,inplane,normal,t) % ARC function generates coordinates to draw a circula...

plus de 6 ans ago | 0

Question

Simulink Vehicle Autotransmission Demo

Equation 4 in the demo <http://www.mathworks.in/help/simulink/examples/modeling-an-automatic-transmission-controller.html Modeli...

plus de 6 ans ago | 0 answers | 0

Answered

how to create variable PWM in simulink

There is a built-in pwm block that varies dutycycle according to an input sine wave. See 2 and 3 level pwm generator blocks. If ...

how to create variable PWM in simulink

There is a built-in pwm block that varies dutycycle according to an input sine wave. See 2 and 3 level pwm generator blocks. If ...

plus de 6 ans ago | 0

| accepted

Question

Force Update a Block Output at Minor Time Steps

I just realised that the output of some blocks (e.g.source blocks like ramp and constant) are updated only at the beginning of a...

plus de 6 ans ago | 1 answer | 0

Answered

How can i pass variables from an m file from the function workspace to the base workspace

In general, if you need to access base workspace while inside a function, you can use evalin. evalin('base','scriptfile'). If t...

How can i pass variables from an m file from the function workspace to the base workspace

In general, if you need to access base workspace while inside a function, you can use evalin. evalin('base','scriptfile'). If t...

plus de 6 ans ago | 0

Answered

How to store every iteration value

1. You dont have to write a loop to get difference values. Just do diff(D). Or, before you do rec2_Wopt(1) = rec2_Wopt(1) + su...

How to store every iteration value

1. You dont have to write a loop to get difference values. Just do diff(D). Or, before you do rec2_Wopt(1) = rec2_Wopt(1) + su...

plus de 6 ans ago | 0

Answered

How can I simulate a difference equation in Simulink?

Use N delay blocks in tandem to create y(n-N).

How can I simulate a difference equation in Simulink?

Use N delay blocks in tandem to create y(n-N).

plus de 6 ans ago | 0

Answered

How can I compute Kurtosis

if you have stats toolbox, there is a function called kurtosis. Even otherwise, this should be very straightforward. functi...

How can I compute Kurtosis

if you have stats toolbox, there is a function called kurtosis. Even otherwise, this should be very straightforward. functi...

plus de 6 ans ago | 0

| accepted

Answered

how to make zero padding?

m = [zeros(1,size(m,2)+2); [zeros(size(m,1),1), m, zeros(size(m,1),1)]; zeros(1,size(m,2)+2)]; or even simpler, but needs c...

how to make zero padding?

m = [zeros(1,size(m,2)+2); [zeros(size(m,1),1), m, zeros(size(m,1),1)]; zeros(1,size(m,2)+2)]; or even simpler, but needs c...

plus de 6 ans ago | 0

Answered

How to use slider for image processing?

Code looks ok. imopen might be giving you an output that you dont expect. i.e. the "opened" image might the same as the one alre...

How to use slider for image processing?

Code looks ok. imopen might be giving you an output that you dont expect. i.e. the "opened" image might the same as the one alre...

plus de 6 ans ago | 0

Question

Time varying parameters of a State-Space block

Out of curiosity, I tried to implement a lorenz attractor (an nonlinear system) with a statespace block (continuous) with time v...

plus de 6 ans ago | 0 answers | 0

Answered

HELP needed! (Error using surf, Z must be a matrix, not a scalar or vector)

ok, that clarifies that you need to use solve. if solve function is giving you a closed form solution for your eqn, use subs to ...

HELP needed! (Error using surf, Z must be a matrix, not a scalar or vector)

ok, that clarifies that you need to use solve. if solve function is giving you a closed form solution for your eqn, use subs to ...

plus de 6 ans ago | 0

Answered

How do i calculate summations using a loop structure?

sum((1:6).^p) use various values of p and you get the result.

How do i calculate summations using a loop structure?

sum((1:6).^p) use various values of p and you get the result.

plus de 6 ans ago | 0

| accepted

Answered

HELP needed! (Error using surf, Z must be a matrix, not a scalar or vector)

Whoa, I think thats not quite what you want to do. What is the eqn you want to plot? If i'm plotting the eqn z = sin(sqrt(x^2+y...

HELP needed! (Error using surf, Z must be a matrix, not a scalar or vector)

Whoa, I think thats not quite what you want to do. What is the eqn you want to plot? If i'm plotting the eqn z = sin(sqrt(x^2+y...

plus de 6 ans ago | 0

Answered

Getting an Error and is not displaying Image,How to solve this?

Concatenation is not the way to Overlay two images. imshow one image, hold on, and plot the segmented overlay on the same axes u...

Getting an Error and is not displaying Image,How to solve this?

Concatenation is not the way to Overlay two images. imshow one image, hold on, and plot the segmented overlay on the same axes u...

plus de 6 ans ago | 0

| accepted

Answered

how can i run a function witout facing this error: An array for multiple LHS assignment cannot contain expressions.

just remove {} on nspikes.

how can i run a function witout facing this error: An array for multiple LHS assignment cannot contain expressions.

just remove {} on nspikes.

plus de 6 ans ago | 0

| accepted

Answered

How do I print a formatted matrix without using a loop?

Why not disp(m). %f will sequentially output all nos of the matrix. If you are using textile output, just use dl...

How do I print a formatted matrix without using a loop?

Why not disp(m). %f will sequentially output all nos of the matrix. If you are using textile output, just use dl...

plus de 6 ans ago | 0

Answered

Modelling from Equations in Simulink

There is nothing like you will need this many blocks or you cannot exceed so many. All you need to do is to realise your logic r...

Modelling from Equations in Simulink

There is nothing like you will need this many blocks or you cannot exceed so many. All you need to do is to realise your logic r...

environ 7 ans ago | 0