# Allen

**Statistics**

RANK**419**

of 276,249

REPUTATION**169**

CONTRIBUTIONS

**8** Questions

**83** Answers

ANSWER ACCEPTANCE **
50.0%
**

VOTES RECEIVED**25**

RANK**6,473** of 18,594

REPUTATION**154**

AVERAGE RATING**5.00**

CONTRIBUTIONS**4** Files

DOWNLOADS **15**

ALL TIME DOWNLOADS**732**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

Calculate compression ratio of engine

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

25 days 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

25 days 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...

25 days 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...

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

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

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

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

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

6 months 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.

6 months ago | 0

How to use if condition inside for loop without breaking the loop?

@Adnan Barkat, it appears that your for-loop is functioning properly. However, you appear to be overwriting ser1 and ser2 during...

6 months ago | 0

create a tab which appear before closing the GUI

@PA, I typically use something similar to the following. qstr = "Do you really want to close the Project without Saving?"; qan...

6 months ago | 0

Counting Consecutive Threshold Crossings in a Signal (Counting Oscillations)

You can accomplish a check against a threshold using the following code or a slight variation to meet other needs. % Generating...

6 months ago | 0

Submitted

DragDataTip

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

8 months ago | 12 downloads |

Solved

Is A the inverse of B?

Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

9 months ago

Solved

Rotate Matrix @180 degree

Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

9 months ago

Solved

Square root

Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

9 months ago

Solved

Calculate the average value of the elements in the array

Calculate the average value of the elements in the array

9 months ago

Solved

the average value of the elements

Calculate the average value of the elements in the array

9 months ago

Solved

Electrical Diode Current Calculation

In engineering, there is not always a single equation that describes a phenomenon accurately enough to be applied in all instanc...

9 months ago

Solved

An Ohm's Law Calculator

*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

9 months ago