Question

Misalignment between subplots when plotting with logarithmic scale

Hi, I plot two subplots, but their y-axis (which I want to be logarithmic) is not aligned between the two. Sample code: ax(1...

2 months ago | 0 answers | 0

Question

viscircles - How to flip dashed line?

Hi, I'm using viscircles to draw a circle with the dashed line property. The problem is one specific dash line interefers with ...

2 months ago | 1 answer | 0

Question

Add titles over rows in subplots

Hi, I have a figure with 8 subplots, arranged in two rows. I need to generate an automated code adding a centered title above e...

2 months ago | 1 answer | 0

Question

Convert cell array of syms to double

Hello, after running the following code (where f(1), f(2) are constants, and u is a vector), X ends up being a u-sized cell arra...

6 months ago | 1 answer | 0

Question

How to change the position of a shared axis label in a TiledChartLayout?

Hi, Given T is a handle to a TiledChartLayout, I tried: T.XLabel.Position=[val val val val] but since there is no Position ...

8 months ago | 1 answer | 0

Question

Plotting high-dimensional discreted data on two-dimensional plot

I wish to plot 6D data on a 2D plot. I envision something like in the attached figure. The axes are two dimensions, the color a...

8 months ago | 1 answer | 0

Question

Calculate radius from scatter plot

Hi, I need to calculate the radius of a circle, ignoring all surrounding particles (image attached). The circle itself consists...

10 months ago | 3 answers | 0

Question

MATLAB equivalent to ls -l

Hi, what is MATLAB equivalent to ls -l?

1 year ago | 1 answer | 0

Question

Missing file prevents uninstall

I want to unistall MATLAB R2018b but I recieve the following error: C:\Program Files\MATLAB\R2018b\help\5g\helpsearch\segments_...

1 year ago | 1 answer | 1

Question

Extract partial data from vectors in structure

I have a structure containing multiple fields of size 1XN and 3XN. I'm looking for a simple way to extract partial data, e.g. th...

1 year ago | 1 answer | 0

Question

Cluster central object orbited by many small objects

Hi, I want to cluster my data into 2 clusters: one central body in cluster #1, all other particles in cluster #2. Figures are...

1 year ago | 0 answers | 0

Question

H5 - How to create attribute within a group?

EDIT: issue fixed- loc_id should be change to gid Hello, I am trying to create an attribute ('BoxSize') within a group ('Hea...

2 years ago | 0 answers | 0

Question

Cluster by distance and limit number of clustered points

Hi, I want to cluster points by distance if they are close enough. I also want to demand no more than 2 objects in a cluster...

2 years ago | 0 answers | 0

Question

Create custom language with ocr

Hi, I want to decypher letters in an ancient text. I have a large database of letters (i.e. 22 letters with many samples of e...

2 years ago | 0 answers | 0

Question

merge non-intersecting polygons

Hi, I want to unite several not intersecting polygons together, and for the new polygon to include also the area between them. ...

2 years ago | 1 answer | 0

Question

An error occurred while trying to determine whether "readData" is a function name.

I've recently downloaded matlab2018 and I'm expriencing a reoccuring problem: I tried to run the matlab example: openExample(...

2 years ago | 3 answers | 1

Question

Can't reload 'C:\ProgramFiles\MATLAB\R2018b\bin\win64\sl_graphical_classes.dll'

hello, I've updated to matlab2018 recently (before I had 2017a) and I get the following error: Error using trainingOptions (...

2 years ago | 1 answer | 0

Question

how to create increasing number pyramid matrix?

hello, how do I create a matrix of the form: 1 2 3 4 5 6 7 8 0 0 9 10 0 0 0 11 0 0 0 0 in this example N=5. I need a ...

2 years ago | 1 answer | 0

Question

cftool and fit function returns different results

I fit data using both methods and am getting different results. The fitted function is: f(x)=a*x^(b). The results are: ...

2 years ago | 0 answers | 0

Question

From what code the function was summoned?

hi, I have a function that can be summoned from numerous codes, and I want it to do different stuff depending on what code su...

2 years ago | 0 answers | 0

Question

set times: Broken pipe error (scp -p -r)

I'm running a code on a cluster and download the outputs with Matlab. I get the following message in the command window upon dow...

3 years ago | 0 answers | 0

Question

reading part of a very large txt file

hi, I have a text file looking like this: x=1 y=2 1 2 3 4 *** x=4 y=2 4 2 *** x=3 y=1 2 ...

3 years ago | 1 answer | 0

Question

getappdata doesn't capture all handles

hi all, I'm using a uitable in order to mark specific points on another figure (upper left in the attached image). when I ...

3 years ago | 0 answers | 0

Question

azimuths between points on a plane

ola, I'm using now atan2d to calculate azimuths (relative to east) on a plane between two grids, sized 970X1144: for i=1...

3 years ago | 0 answers | 0

Question

shapes of clusters (linkage function)

a question about the linkage function, the shapes in the page 'Hierarchical Clustering' under linkage are a bit amorphic, an...

3 years ago | 0 answers | 0

Question

is there a way to know the running time retrospectively?

hi all, is there a way to know how much time it took for the code to run retrospectively? i had a code running over the weeke...

3 years ago | 0 answers | 0

Question

linear index to matrix index

ola, I have a matrix 1020x1294, and the linear index 475000. I can do the math by myself, but I'd like to know is there a f...

3 years ago | 2 answers | 0

Question

two data sets & two colorbars on same figure

I have a figure representing a topographic map. after plotting it, i want to change the values within the circle for values rang...

3 years ago | 1 answer | 0

Question

change variable storage format

i have a matrix with have all sorts of values, like 1.062e+03 or 7.5646546. i want to change the variable storage format to n...

3 years ago | 1 answer | 0

Question

Fit function - plot only line, without the data points

hi all, im using the fit function for exponential fiting, and i want the plot to be without the data points. thank you

4 years ago | 1 answer | 0