Answered

Pass data between two Matlab?

You might be able to load the data in the base workspace then pull it into the app, I am not sure apps would halt while somethin...

Pass data between two Matlab?

You might be able to load the data in the base workspace then pull it into the app, I am not sure apps would halt while somethin...

2 mesi ago | 0

Question

Extra margin or boarder space around apps in 20a/20b.

I am getting extra margin or boarder space with apps made with or run in 20a/20b. They look fine in app designer but when run I...

2 mesi ago | 1 answer | 0

Question

App Designer uitree nodedata memory size limit?

Is there a memory limit to what can be put into the nodedata field of a uitree? My app and tree work correctly when putting d...

4 mesi ago | 1 answer | 0

Question

Disallow running an App in an older version of ML?

Is there a way to disallow or inform the user that they cant run an installable App in an older version of ML? I have made an A...

11 mesi ago | 1 answer | 0

Question

App Designer KeyPress callback for a Tree

Is there a work around for making a KeyPress callback when a Tree is active within the App Designer? I would like to remove sel...

11 mesi ago | 1 answer | 0

Answered

How to position box plots in one figure without overlap?

Your third boxplot as a matrix going in but the position is a scalar, documentation says 'position' should have as many values a...

How to position box plots in one figure without overlap?

Your third boxplot as a matrix going in but the position is a scalar, documentation says 'position' should have as many values a...

circa un anno ago | 0

Answered

Area Mach Number Relation

Put all that code info a function with inputs/outputs; call it for each ARatio you want. https://en.wikipedia.org/wiki/Wrapper_...

Area Mach Number Relation

Put all that code info a function with inputs/outputs; call it for each ARatio you want. https://en.wikipedia.org/wiki/Wrapper_...

circa un anno ago | 0

Answered

Area Mach Number Relation

You can format posts to look llike ML text and make them easier to read. Without reading any of your code it sounds like you ca...

Area Mach Number Relation

You can format posts to look llike ML text and make them easier to read. Without reading any of your code it sounds like you ca...

circa un anno ago | 0

Question

Use a Live Script to document an APP?

I am building a Matlab APP for my employer and as it grows in size, complexity and userbase I am seeing that it will need some f...

circa un anno ago | 1 answer | 0

Question

Pre-determine plot ranges?

Given two vectors of the same length is there a way to determine the axes ranges that would result if the data were plotted with...

oltre un anno ago | 1 answer | 0

Answered

isprime function seems to have poor performance

>> tic, isprime(2^607-1), toc ans = logical 0 Elapsed time is 0.453590 seconds. >> tic, isprime(uint64(2^1279-1)),to...

isprime function seems to have poor performance

>> tic, isprime(2^607-1), toc ans = logical 0 Elapsed time is 0.453590 seconds. >> tic, isprime(uint64(2^1279-1)),to...

oltre un anno ago | 0

Answered

Index in position 2 exceeds array bounds (must not exceed 1).

Your first line is making "elem" a scalor but the if test is using it as a martix; this does not work.

Index in position 2 exceeds array bounds (must not exceed 1).

Your first line is making "elem" a scalor but the if test is using it as a martix; this does not work.

oltre un anno ago | 0

Answered

Deleting overlapping lines in a plot

.fig files retain Children information of the figure; you can loop over the Children and delete based on color.

Deleting overlapping lines in a plot

.fig files retain Children information of the figure; you can loop over the Children and delete based on color.

oltre un anno ago | 0

| accepted

Answered

How to speed up function approximation?

I dont have those toolboxes but often you can start an optimization problem with a randomly selected sub-set of data run for a s...

How to speed up function approximation?

I dont have those toolboxes but often you can start an optimization problem with a randomly selected sub-set of data run for a s...

oltre un anno ago | 0

Answered

How to ignore an element(s) in a vector or matrix

You can specify a sub compontent of a matrix but the resulting matrix math needs to remain logical >> theta = [1,2,3,4]; alpha ...

How to ignore an element(s) in a vector or matrix

You can specify a sub compontent of a matrix but the resulting matrix math needs to remain logical >> theta = [1,2,3,4]; alpha ...

oltre un anno ago | 0

| accepted

Answered

Is it possible to add row vectors into a matrix with a for loop?

A loop is not needed for your simple demo >> mat = [sample1; sample2] mat = 1 2 3 4 5 6 But yes y...

Is it possible to add row vectors into a matrix with a for loop?

A loop is not needed for your simple demo >> mat = [sample1; sample2] mat = 1 2 3 4 5 6 But yes y...

oltre un anno ago | 0

| accepted

Answered

how to pick up all combination of numbers from multiple vectors

I use allcomb from the Exchange - works great. Works with chars too. It uses ndgrid under the hood and is probably mostly a pa...

how to pick up all combination of numbers from multiple vectors

I use allcomb from the Exchange - works great. Works with chars too. It uses ndgrid under the hood and is probably mostly a pa...

oltre un anno ago | 0

Answered

How to create an empty edit field (numeric) in app designer

Can you make the input a text field and reject anything that does not convert to a number?

How to create an empty edit field (numeric) in app designer

Can you make the input a text field and reject anything that does not convert to a number?

oltre un anno ago | 0

Answered

calculate difference of euler angles between two dynamic moving objects

Are you trying to compare the rotation matries directly or are you compairing the euler angles? I am not sure you can use the m...

calculate difference of euler angles between two dynamic moving objects

Are you trying to compare the rotation matries directly or are you compairing the euler angles? I am not sure you can use the m...

oltre un anno ago | 0

Question

Passing data into and out of an App

I am new to Apps and would like to make sure I am clear on how to it is best to get data into and out of an App. I need to be a...

oltre un anno ago | 1 answer | 0

Question

Initialize a model in steady state

I have a Simulink model of an aircraft that I would like to have start in a steady state trim condition before the model runs. ...

oltre un anno ago | 0 answers | 0

Question

Can I disable linear indexing?

I am working with a large number of matrices of varying dimensions and have many times typed in the wrong number of indexes when...

circa 2 anni ago | 2 answers | 0

Question

Can an APP access the calling functions workspace?

If I execute an APP can it access the workspace of a function I am debugging? I am trying to write an APP that will plot my c...

oltre 2 anni ago | 0 answers | 0

Solved

First non-zero element in each column

For a given matrix, calculate the index of the first non-zero element in each column. Assuming a column with all elements zero ...

circa 3 anni ago

Solved

Check if number exists in vector

Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

circa 3 anni ago

Solved

Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.

Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

circa 3 anni ago

Solved

How to subtract?

*± ± ± ± ± ± ± ± ± ± ±* * Imagine you need to subtract one...

circa 3 anni ago

Question

plot legends with custom symbols

I am doing something like >> XX = 0; YY = 0; >> h1 = plot( XX, YY, ['.y'] ); hold on >> set(h1, 'markersize', 30); ...

oltre 5 anni ago | 1 answer | 1