# Allen

**Statistics**

RANK**412**

of 277.706

REPUTATION**174**

CONTRIBUTIONS

**8** Questions

**89** Answers

ANSWER ACCEPTANCE **
50.0%
**

VOTES RECEIVED**26**

RANK**6.464** of 18.792

REPUTATION**156**

AVERAGE RATING**5.00**

CONTRIBUTIONS**4** Files

DOWNLOADS **11**

ALL TIME DOWNLOADS**752**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Submitted

DragDataTip

Creates draggable data tips with custom labeling options on some 2-D plots. Custom labels options can also be applied to standar...

ongeveer 2 uur ago | 7 downloads |

the loop is not terminated it keeps on going

It is not clear why you initialize Diff as a vector whos size is equal to x. After you first compute Diff using the norm functio...

14 dagen ago | 0

Whats wrong with these two functions in my app?

The application property (error) that you are tyring to use is being created upon the start of the application, but you have fai...

15 dagen ago | 0

How can I infer from the data cursor position, the index of the closest datapoint

Julian, What you are asking for sounds very much like what the brush data tool does. However, there are a few extra steps requi...

15 dagen ago | 0

| accepted

Problem with 2 plots, one in not showing and second one is showing up empty.

Jana, For both examples you are only plotting a single set of scalar values (e.g. a point) during each interation of the for lo...

16 dagen ago | 0

Solved

Must be in the front row...

You are given a matrix followed by a single number. Your object is to write a script that will shift the matrix around so that ...

17 dagen ago

Solved

Write a function man that takes a row vector v and returns a matrix H as follows..

Write a function called man that takes a row vector v as an input and returns a matrix H whose first column consist of the eleme...

17 dagen ago

Ordering of an array based off conditions

You can perform sorting to a specified order using a categorical array. To do this you will need to restructure your original va...

17 dagen ago | 0

Solved

Too Many Zeros, Dump Them!

Sometimes when I create a matrix, I use this syntax: a = zeros(1000,1000); But when the function ends, I find that I don'...

18 dagen ago

Solved

Replace Nonzero Numbers with 1

Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...

18 dagen ago

Solved

Matrix multiplication across rows

Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix Example ...

18 dagen ago

Solved

A matrix of extroverts

Now that the introverts have had their script, the extroverts spoke up (naturally!) and demanded one as well. You will be given...

18 dagen ago

Solved

Enlarge array

Given an m-by-n numeric array (A) and a 1-by-2 vector (sz) indicating the dimensions [p q] to enlarge each element, return an (m...

18 dagen ago

Solved

Remove entire row and column in the matrix containing the input values

Remove the entire row and column from the matrix containing specific values. The specified value can be a scalar or a vector. Fo...

18 dagen ago

Solved

subtract central cross

Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

18 dagen ago

Solved

Given a matrix, swap the 2nd & 3rd columns

If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...

18 dagen ago

Read/Write CSV for Code Generation

There are a number of options for reading CSV files. The following functions are few that I use and differ many in the type of w...

18 dagen ago | 0

Solved

Some Assembly Required

The input to this function is a matrix of real numbers. Your job is to assemble the rows of the matrix into one large row that ...

19 dagen ago

Solved

Calculate a modified Levenshtein distance between two strings

Inspired by the Cody problem found here. The Levenshtein distance is a charater-based string metric used to measure the differe...

19 dagen ago

Solved

Calculate compression ratio of engine

Calculate compression ratio of engine given compression volume of cylinder(Vc), piston stroke(s) and valve diameter(d)

3 maanden ago

Solved

Calculate Engine Power

Calculate Engine Power (P) in kW given the values of Torque(M) in Nm and Engine Speed(n) in rpm

3 maanden ago

Multiplication of gigantic matrices

You can use datastores and tall arrays to work with large amounts of data. See references to both. https://www.mathworks.com/he...

3 maanden ago | 0

Question

How can I display numbers in scientific notation but in magnitudes of 3 and to 3 significant digits?

I am trying to display rounded values <double> in a uitable and would like do so concisely. Using scientific notation is great f...

4 maanden ago | 1 answer | 0

### 1

answerExpand a figure in a PDF file

Chris, Regular figures have several properties that allow you to control their size when converted to an image, and should work...

7 maanden ago | 0

app-designer, rename variables

I am unable to find which version of MATLAB addressed and added this functionality to AppDesigner, but at least back to R2022a y...

8 maanden ago | 0

App Designer - Plotting from Arrays

If the data type of your x and y variables is a double-array, then you are using the wrong syntax to access the data. Use parent...

8 maanden ago | 0

Passing objects from app designer to the workspace

Though I would recommend using one of @Adam Danz's solutions since they are typically a safer method of passing data, assignin c...

8 maanden ago | 0

| accepted

Matlab doesn't open a .mlapp file created in a different computer

It appears that the application is looking for an image file, possibly assigned to a one or more of your app objects. I have fou...

8 maanden ago | 0

uigetfile called in app designer open the file dialog screen behind the calling .mlapp

@Smith Smith, you might try using uiopen in lieu of uigetfile. Otherwise, I would suggest reinstalling MATLAB.

8 maanden ago | 0