Question

Which License am I using for each toolbox

Is it possible to determine which license number users are utilizing for specific MATLAB toolboxes? With the "license" comman...

2 years ago | 2 answers | 0

Question

Substring block returns incorrect value

*Problem* I'm trying out the new "String" blocks available in R2018 and have found some behaviour that I can't explain. I'm t...

2 years ago | 1 answer | 0

Question

LogicAnalyser - Variable Number of inputs

When using the <https://uk.mathworks.com/help/dsp/ref/dsp.logicanalyzer-class.html DSP logic analyser> the <https://uk.mathworks...

3 years ago | 1 answer | 0

Question

Query valid license from command line

We use Matlab and Simulink as part of a suite of tools and MATLAB is opened as an automation server by a another tool. Some u...

4 years ago | 0 answers | 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...

5 years 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...

5 years 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...

5 years ago

Solved

Produce a sine wave

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

5 years 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...

5 years ago

Solved

Produce a cosine wave

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

5 years ago

Solved

Connect blocks in a model

Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

5 years ago

Answered

Add worksheet with 'microsoft.office.interop.excel'

This worked for me self.hCurrentSheet = Microsoft.Office.Interop.Excel.Worksheet(self.hWorkbook.Worksheets.Add());

Add worksheet with 'microsoft.office.interop.excel'

This worked for me self.hCurrentSheet = Microsoft.Office.Interop.Excel.Worksheet(self.hWorkbook.Worksheets.Add());

5 years ago | 0

Question

List Built in Commands used by .m function

I'd like to analyse a set of .m functions that have been written to see which built-in commands have been used by the authors. ...

6 years ago | 1 answer | 1

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

6 years ago

Solved

Circle area using pi

Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

6 years ago

Question

Create a Simulink Library Installer

I've been looking for a method of sharing a simulink library with colleagues that makes it as simple as possible for them to ins...

6 years ago | 1 answer | 0

Solved

Triangle Numbers

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

7 years 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...

7 years ago