# Josh

Hobbyist with interests in image processing, pixel art, animation, and cellular automata https://sites.google.com/view/joshadair/

**Programming Languages:**

Python, Javascript, MATLAB, HTML, CSS

**Spoken Languages:**

English, Spanish

**Professional Interests:**

Mathematics, Musical Instrument Digital Interface (MIDI), Image Processing and Computer Vision

**Statistics**

RANK**3.883**

of 291.611

REPUTATION**12**

CONTRIBUTIONS

**2** Questions

**8** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**0**

RANK**17.072** of 19.806

REPUTATION**3**

AVERAGE RATING**0.00**

CONTRIBUTIONS**1** File

DOWNLOADS **10**

ALL TIME DOWNLOADS**24**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Question

Use fixed colormap or colorbar scale for series of 3D bar graphs in video animation

I've been able to incorporate code from this answer: https://www.mathworks.com/matlabcentral/answers/98236-how-can-i-color-bars...

27 dagen ago | 1 answer | 0

### 1

answeri want matrix E == matrix B(i want correct answer)

E==B is going to do an element-wise comparison, returning a matrix the same size as E and B with logicals (0's, 1's) where the e...

ongeveer een maand ago | 0

| accepted

How to find pixels aligned along a certain direction on satellite image?

https://www.mathworks.com/help/images/ref/bwareafilt.html Thinking that's going to be one of the easier options for getting sta...

ongeveer een maand ago | 0

Solved

Cell joiner

You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

ongeveer een maand ago

How to add Ghostsript to path in matlab

it may be that the folder is hidden? ...so make hidden folders visible then do what you've been trying to do and it should be th...

ongeveer een maand ago | 0

Win11 taskbar too big

1) Hide the taskbar (Settings>Personalization>Taskbar): 2) Change display scale...maybe (Settings>System>Display):

ongeveer een maand ago | 0

How to find the LM_LICENSE_FILE in an institutional license (online verification)

https://www.mathworks.com/matlabcentral/answers/99147-where-can-i-find-matlab-license-files

ongeveer een maand ago | 0

Legend Color and plot color mismatch

code seems to work fine for me so might be something more local to your machine or version of MATLAB? sorry i'm not able to prov...

ongeveer een maand ago | 0

Submitted

MATLAB-Projects

Matlab projects and associated import/export media, data, etc.

ongeveer een maand ago | 10 downloads |

How do I break from a loop on keyboard input without plugins?

I've not implemented either of these solutions but seems to be on the right track... https://www.mathworks.com/matlabcentral/an...

ongeveer een maand ago | 0

| accepted

Question

How to save matrix as a "pretty print" image?

I'm creating animations based on abelian sandpile models, where the sandpile heights (integers>0) are used as index values to co...

ongeveer een maand ago | 1 answer | 0

### 1

answerSolved

Divide elements by sum of elements

In this problem, I ask you to write a function which will divide the elements of each column by the sum of the elements of the s...

ongeveer 2 maanden ago

Solved

Replace secondary diagonal elements of a square array

Replace all the secondary diagonal elements of the square array A with the number n Example: A = [1 2 3 4 5 6 ...

ongeveer 2 maanden ago

Solved

Simulate one complete step in the Biham–Middleton–Levine traffic model

The <http://en.wikipedia.org/wiki/Biham%E2%80%93Middleton%E2%80%93Levine_traffic_model Biham–Middleton–Levine traffic model> is ...

ongeveer 2 maanden ago

Solved

Vector to 3-Column Matrix

Consider a vector *A* such as A = [1 2 3 3 4 5 6] Can you convert this vector to a three-column matrix like this: ...

ongeveer 2 maanden ago

Solved

Find my daddy long leg (No 's')

Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the value of the bigger leg.

2 maanden ago

Solved

Find the maximum number of decimal places in a set of numbers

Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not count...

2 maanden ago

Solved

Make roundn function

Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

2 maanden ago

Solved

Rounding off numbers to n decimals

Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

2 maanden ago

Solved

Matlab Basics - Rounding III

Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

2 maanden ago

Solved

Matlab Basics - Rounding II

Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

2 maanden ago

Solved

Check that number is whole number

Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...

2 maanden ago

Solved

MATLAB Basic: rounding IV

Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

2 maanden ago

Solved

MATLAB Basic: rounding III

Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

2 maanden ago

Solved

MATLAB Basic: rounding II

Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

2 maanden ago

Solved

MATLAB Basic: rounding

Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

2 maanden ago

Solved

Průměr z výběrového souboru

Napište funkci, která vrátí průměr z hodnot vektoru data. Např data = [1, 2, 3, 4, 5, 6, 7, 8, 9] je prumer = 5.

2 maanden ago

Solved

Large Sum (inspired by Project Euler 13)

Your function will be provided an arbitrary number of numbers of arbitrary sizes as a cell array of strings. Some numbers will b...

3 maanden ago

Solved

Divisors for big integer

Inspired by Problem 1025 and Project Euler 12. Given n, return the number y of integers that divide N. For example, with ...

3 maanden ago

Solved

Highly divisible triangular number (inspired by Project Euler 12)

Triangular numbers can be calculated by the sum from 1 to n. For example, the first 10 triangular numbers are: 1, 3, 6, 10, ...

3 maanden ago