Question

RS232 on Speedgoat

Hello, with a Speedgoat Baseline and Simulink Real-Time I want to get data from a ultrasoundsensor via a RS232 serial Port. The...

3 months ago | 0 answers | 0

Question

Reseting Simulinks Logic Analyzer

Hello, After deleting waves from Simulinks Logic Analyzer I am not able to restore these properly. Useing the button "Restor...

5 months ago | 1 answer | 0

Question

Calculate volume from an isosurface

Hello, i have a isosurface like in the picture below generated by the commands isosurface and patch. How can I calculate the...

7 months ago | 2 answers | 0

Question

How to update a contourf plot?

Hello, i know, how to update a surface for example in a for-loop using: set(hSurf, 'ZData', newZData) set(hSurf, 'CData', ...

7 months ago | 1 answer | 0

Solved

Select every other element of a vector

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

12 months ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

12 months ago

Question

How to restore lost matlab preferences

Hello together, today I started matlab as usual but it seemed, that all the preferences I've made are gone. What could have ...

1 year ago | 1 answer | 0

Question

Once more... Avoid global variable!

Hello together, I'm writing many function which i often use during a matlab session. To make them a little more compfortalbe ...

1 year ago | 4 answers | 1

Question

Extrpoolation not along dimension

Hello together, i have a following simplyfied matrix z with corresponding x and y axis z = [3 2 1 1 1 1 1 1; ... 2...

1 year ago | 1 answer | 0

Question

Input parsing of name-value Pairs

Hello together, i know its a heavy discussed topic but i haven't found a satisfying answer to my problem yet: my function ...

2 years ago | 3 answers | 0

Answered

closeRequestFcn for Matlabs main window

Never mind. I found the solution. If there is a file called finish.m it the searchpath or in the current folder, matlab execut...

closeRequestFcn for Matlabs main window

Never mind. I found the solution. If there is a file called finish.m it the searchpath or in the current folder, matlab execut...

2 years ago | 0

| accepted

Question

closeRequestFcn for Matlabs main window

Hello toghether, i have some variables, that i want to have saved, when matlab is closed? I know startup.m is a script, whic...

2 years ago | 1 answer | 0

Question

Abbreviate acces to struct fields

Hello everyone, i often need to acces a struct field like sturcture.firstLevel.secondLevel.thirdLevel = 1 Now ...

2 years ago | 1 answer | 0

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

2 years ago

Solved

Column Removal

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

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

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

2 years ago

Question

axes title of all open figures

Hello together, having for example two open figures, where each figure has a plot in it with a title. I want an easy way with...

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

2 years ago

Question

Open new files in existing session

Hello, when i have an already opened matlab session and i'm trying to open a new script from the windows explorer i receive t...

2 years ago | 2 answers | 0

Question

Partial transparent surface plot

Hello together, I'm trying to plot a surface where all points with a z value between -0.5 and 0.5 are 100% transperent. I've ...

2 years ago | 1 answer | 0

Question

How do I remove the info bar in figure when the variables are linked?

Hello, when i link data in a plot i get the info bar shown in the attached picture. This annoys me and i want it to be hidden...

2 years ago | 1 answer | 0

Question

Angeled signal lines after reopening a model

Hello toghether, i got the annoying issue, that, sometimes simulink changes the once horicontal and vertical signal lines int...

2 years ago | 0 answers | 0

Question

set paths disappear after restart

Hello together, latley it occures to me, that I loose paths that I have set in matlab. I use File -> set Path... -> add Folde...

2 years ago | 1 answer | 0

Question

GUI to scale multiple plots

Hello together, I often have several plots and surfs, which I want to scale properly by setting xMax, xMin, xTick, yMax, yM...

2 years ago | 0 answers | 0

Question

Insert vector graphic from Matlab to Word

Hello together, i know its a often discussed topic. But i haven't found any solution for me. I have some plots, which i need...

3 years ago | 1 answer | 0

Question

3D extrapolation without ScatteredInterpolant

Hello, if got a three vectors of scattered x, y and z data. I need to extrapolate these. My Release is from 2011, so I do no...

3 years ago | 0 answers | 0

Question

Get mulitple figure handles

Hello together, I'd like to use the mouse, to select multiple figures and then somehow get the handles of all the selected fi...

3 years ago | 0 answers | 0

Question

How to get a surface handle

Hello together, in the Matlab Help for surf it Shows the command h = surf(...) which returns a handle to a chart surface ...

3 years ago | 1 answer | 0