Community Profile

photo

Allen


Last seen: 21 days ago Active since 2017

Professional Interests:
App Building, Fourier Analysis and Filtering, Signal and Data Processing, Seismology, Mechanical Engineering

Statistics

All
  • Thankful Level 2
  • Revival Level 2
  • Matrix Manipulation I Master
  • Strings I Master
  • 5-Star Galaxy Level 2
  • Personal Best Downloads Level 2
  • Cody Problems in Japanese Master
  • Knowledgeable Level 4
  • 3 Month Streak
  • Strings II Master
  • Number Manipulation I Master
  • Editor's Pick

View badges

Content Feed

View by

Answered
How to add subscript in labels in App Designer Matlab
I am not sure what version it was introduced, but R2023b now includes an interpreter property for labels in App Designer. Use...

2 months ago | 0

Solved


Current through resistor
Three resistors (R2, R3, R4) are connected in parallel as shown in the figure. If this combination is connected in series with ...

3 months ago

Solved


Calculate Parallel Resistance
Three resistors connected in parallel have resistances R1, R 2, and R 3, respectively. Return the total resistance R total of ...

3 months ago

Solved


Resistance of a light bulb
The current through two identical light bulbs connected in series is C Amperes. The total voltage across both bulbs is V Volts....

3 months ago

Solved


Force and Motion 3
Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...

3 months ago

Solved


Force and Motion 2
Two robots are pulling on an object in opposite directions. One robot pulls with a force of F1 Newtons and the other with a forc...

3 months ago

Submitted


octspace
Create logarithmic spacing with 1/N-th octave bands over a specified frequency range.

10 months ago | 2 downloads |

Thumbnail

Submitted


DragDataTipMode
A custom class definition that replaces standard data tips with draggable versions in order to maintain a clear view of all plot...

10 months ago | 1 download |

Thumbnail

Submitted


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

10 months ago | 7 downloads |

Thumbnail

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

10 months ago | 0

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

10 months ago | 0

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

10 months ago | 0

| accepted

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

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

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

10 months ago

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

10 months 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'...

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

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

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

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

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

10 months ago

Solved


frame of the matrix
Given the matrix M, return M without the external frame.

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

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

10 months ago

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

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

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

10 months 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)

1 year 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

1 year ago

Load more