Question

Conversion of data types warning in H5A.write

Hi, I write an h5 file as follows: fileName = 'myfile.h5'; file=H5F.create (fileName, 'H5F_ACC_TRUNC','H5P_DEFAULT', 'H...

7 jours ago | 0 answers | 0

Question

MATLAB equivalent to ls -l

Hi, what is MATLAB equivalent to ls -l?

environ 2 mois 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_...

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

3 mois 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...

4 mois 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...

8 mois 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...

11 mois 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...

11 mois 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. ...

11 mois 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(...

environ un an 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 (...

environ un an 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 ...

environ un an 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: ...

plus d'un an 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...

plus d'un an 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...

plus d'un an 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 ...

environ 2 ans 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 ...

environ 2 ans 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...

environ 2 ans 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...

environ 2 ans 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...

environ 2 ans 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...

environ 2 ans 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...

environ 2 ans 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...

environ 2 ans 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

plus de 2 ans ago | 1 answer | 0

Question

sinusoidal time dependent boundary condition - pde toolbox

hello, i would like to have a sinusoidal time dependent BC. i didnt find an example of this in the related docs. this is ...

plus de 2 ans ago | 1 answer | 0

Question

how to create a cylinder with minimal nodes and elements?

hello, im trying to create a solid cylinder to use in the pde toolbox, with radius and height of size 1. i tried it in sev...

plus de 2 ans ago | 1 answer | 0

Question

Two types of error when trying to solve time dependent pde

hello, i have written the following code, to solve a 3d pde. the steady state solution is working properly, but fails to sol...

plus de 2 ans ago | 0 answers | 0

Question

how to tell apart faces of a 3d geometry for pde model?

hello, i created a 3d geometry for my pde model, but it is not so clear what are the faces refering to. is there any way to cl...

presque 3 ans ago | 1 answer | 0

Question

plotting the model after setting initial condition (pde toolbox)

hello, in my 3d model i apllied a pretty complex boundary condition, and i want to see if i got it right. is it possible to ...

presque 3 ans ago | 1 answer | 0

Question

read only numbers from mixed cells in excel

i want to read the following coloum: 9:28:53.321 AM 9:28:53.421 AM 9:28:53.521 AM but without the AM. thanks

presque 3 ans ago | 1 answer | 0