Nazar Adamchuk
Followers: 0 Following: 0
Feeds
질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 2 | 0
2
답변질문
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년 초과 전 | 답변 수: 1 | 0