photo

Nazar Adamchuk


Last seen: 2 years ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How to extract the right struct from the cell array of structs based on condition?
have a 4x1 cell array that looks like in the attached file. load('part.mat'); searchedItem = struct(); for k = 1:length(v...

2 years ago | 1 answer | 0

1

answer

Question


Plotting nodes and values
I am plotting the nodes (>150,000) havíng x,y,z-coordinates with help of scatter3(coor_vs_difference.x_coor,coor_vs_difference....

3 years ago | 1 answer | 0

1

answer

Question


Plotting statistics for a table
Hello, I have a complex table. An excerpt of it I have put into attachment. it has three regions and three variables. My goa...

3 years ago | 1 answer | 0

1

answer

Question


Deleting unnecessary values in numerical array
I have following ordered array (simplified): 1420 1 1410 1 1400 1 1390 0.9 1380 0.8 1370 0.7 ... 1300 0 1290 0 1290 0 ...

3 years ago | 1 answer | 0

1

answer

Question


Printing cell array with skipping a value
I have following code: fileID = fopen('output.txt','w'); fprintf(fileID, '%s %g ', matComp{:}); fclose(fileID); which gives ...

3 years ago | 1 answer | 0

1

answer

Question


Plot a table and generate legend from values from the table
I have following table (you can find the file in the attachment): I am reading this table in MATLAB and creating a plot of t...

3 years ago | 1 answer | 0

1

answer

Question


Four of 3D points: How to find 1 of them closest to a given point?
A structure variable measurement contains cloud of 4 points with coordinates (x,y,z). Distance d between any two points (X,Y,Z...

3 years ago | 1 answer | 0

1

answer

Question


How read in comment style to skip the header of a text file?
I am trying to read hundreds of .dat file by skipping header lines (I do not know how many of them I need to ...

3 years ago | 1 answer | 0

1

answer

Question


saving data in a text file
I have this from the matlab reference manual fprintf(fileID, formatSpec, A1,...,An) where formatSpec defines how I write data ...

3 years ago | 1 answer | 0

1

answer

Question


Concatenation of nested cell in one array and writing in text file
How do I rearrange a 8x1 nested cell into one long cell array (variable attached). Each (from 8) cell includes 2x1 cell. My goal...

3 years ago | 1 answer | 0

1

answer

Question


How I can optimize my code for a stack construct?
In reality I have nine variables with scalar values. For them, I have built a stack construct (last in first out) with following...

3 years ago | 1 answer | 0

1

answer

Question


Plot doesn't show lines, only markers
Hello, I call this two lines three times. The variable value shown three a bit different temperature curves for specific heat c...

3 years ago | 2 answers | 0

2

answers

Question


Searching for a matched string within nested cell and delivering the index
I have a nested cell array which is called values. In this example, there are 5 sub cells. Usually this number is variable from...

3 years ago | 1 answer | 0

1

answer