Question

how to transmit data serially from Raspberry Pi to Arduino through USB cable?

Basically, my objective is to: Take a snapshot from an USB camera connected to Raspberry Pi and detect a particular object and f...

meer dan een jaar ago | 0 answers | 0

Question

Error while deploying the Simulink model to Arduino

I was trying to deploy a Simulink model to my Arduino Uno, but got the error message as follows: "Maximum variable size allowed ...

meer dan een jaar ago | 1 answer | 0

Question

How to exclude Simulink blocks from code generation?

Basically, my project is: to acquire data from a USB webcam and perform some color thresholding and object tracking. The output...

meer dan een jaar ago | 1 answer | 0

Answered

How to read an input text file in a matlab program??

If you want to read the numerical values from a data file, excel files are the best. 1. Go to the file location in the current ...

How to read an input text file in a matlab program??

If you want to read the numerical values from a data file, excel files are the best. 1. Go to the file location in the current ...

meer dan een jaar ago | 0

Question

How to check connection status with arduino?

I am creating a graphical user interface of servo motor control. For this, I am using MATLAB support package for Arduino. I nee...

meer dan een jaar ago | 0 answers | 0

Question

Error while running a model on Raspberry pi

I am using a raspberry pi camera for taking a continuous video for my image processing network. At first, when I tried to run my...

ongeveer 2 jaar ago | 2 answers | 0

Question

Error while running model on raspberry pi hardware

I am using a Raspberrypi camera for taking video input to my image processing circuit. When I tried to simulate the model, I g...

ongeveer 2 jaar ago | 0 answers | 0

Question

How Can I merge R,G,B Components of an image into a single RGB image ?

I am using 'V4L2 Video Capture' block for interfacing my Raspberrypi Camera with my laptop. I need a single multidimensional sig...

meer dan 2 jaar ago | 1 answer | 0

Question

Error while executing external mode on Arduino Mega

I was trying to build a Simulink model into Arduino Mega 2560 but got an error as follows:- "Error occurred while executing E...

meer dan 2 jaar ago | 0 answers | 0

Answered

MATLAB support package for arduino hardware

I'm getting problem while using interp1() function. It is not supporting code generation.Any alternative for this?

MATLAB support package for arduino hardware

I'm getting problem while using interp1() function. It is not supporting code generation.Any alternative for this?

meer dan 2 jaar ago | 0

| accepted

Question

MATLAB support package for arduino hardware

Is it possible to create standalone application of Arduino board using MATLAB code ?

meer dan 2 jaar ago | 2 answers | 0

Question

Mapping of a random number in one range to another range

How to re-map a number from one range to another in MATLAB. I've a random number in the range 0 to 5. Now I want to convert it ...

meer dan 2 jaar ago | 1 answer | 0

Solved

Make a full wave rectifier

Produce a full wave rectifier waveform for the given sine wave source. For a sine wave input, the output of the full wave rec...

meer dan 2 jaar ago

Solved

Make a half wave rectifier

Produce a signal that outputs the given sine wave source when it is greater than zero and outputs zero when it is less than zero...

meer dan 2 jaar ago

Solved

Produce a cosine wave

Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

meer dan 2 jaar ago

Solved

Produce a sine wave

Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>

meer dan 2 jaar ago

Solved

Add offset to a signal

Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-offset-eqn.png>> You should see a downward...

meer dan 2 jaar ago

Solved

Add a block to a model

Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...

meer dan 2 jaar ago

Question

How to design a pneumatic cylinder in Simulink ??

How to design a pneumatic cylinder ? As I can see there is a library for hydraulics in Simscape, is there any toolbox for workin...

meer dan 2 jaar ago | 1 answer | 0

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 2 jaar ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

meer dan 2 jaar ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

meer dan 2 jaar ago

Question

Error while uploading Simulink model to an external arduino mega 2560 hardware

When I tried to generate code and upload it on my arduino mega 2560 hardware, I got following error: "### Failed to generate al...

meer dan 2 jaar ago | 1 answer | 0

Question

Unable to open CAD files in simulink using smimport and mech_import

I'm using MATLAB 2017a, sponsored license.I was trying to open a model using smimport() command but it gave following errors: "E...

meer dan 2 jaar ago | 0 answers | 0

Question

Unable to install MATLAB(17a) support package for Arduino hardware

I am using MATLAB 17a, sponsored license.I was trying to install MATLAB support package for Arduino hardware but...

meer dan 2 jaar ago | 0 answers | 0