Alfonso
Universidad Politècnica de Valencia
Followers: 0 Following: 0
Ingeniero de Telecomunicaciones
Feeds
質問
Finding the error/difference between two 3D objects
I am trying to find the difference or error between two 3D models. The "error" I am trying to find would be defined as the exist...
6年以上 前 | 0 件の回答 | 0
0
回答質問
Converting 3D to 2D cloud of points
I am trying to convert a set of data which is a cloud of points from 3D to 2D, I am using this code: % Function from 3D t...
6年以上 前 | 1 件の回答 | 0
1
回答回答済み
How to choose a random value from an array?
Take a look at this answer <https://es.mathworks.com/matlabcentral/answers/48852-choose-elements-from-array-randomly>
How to choose a random value from an array?
Take a look at this answer <https://es.mathworks.com/matlabcentral/answers/48852-choose-elements-from-array-randomly>
6年以上 前 | 0
回答済み
How can I make my values become positive?
% Example: 3x2 array myArray = [-1,-2;-3,2;-3,-4]; % Make all values in array positive myArray = abs(myArray); %...
How can I make my values become positive?
% Example: 3x2 array myArray = [-1,-2;-3,2;-3,-4]; % Make all values in array positive myArray = abs(myArray); %...
6年以上 前 | 0
| 採用済み
質問
Set y axis of image in imshow at the bottom without flipping the image
At the moment when I display the image with imshow the y axis are logically set with the origin at the top. I would like to know...
6年以上 前 | 1 件の回答 | 0
1
回答質問
Effect of depth in an echocardiography when retreiving distances of a segmented region
I have an echocardiography image where I want to segment a region inside it. At the moment I have been able to segment the part ...
6年以上 前 | 0 件の回答 | 0
0
回答回答済み
How can i reorder NxM matrix into a 1D array
Without looping you can do: b = [a(end,:), a(end-1,:), a(end-2,:)]; % 1D array b = 7 8 9 4 5 ...
How can i reorder NxM matrix into a 1D array
Without looping you can do: b = [a(end,:), a(end-1,:), a(end-2,:)]; % 1D array b = 7 8 9 4 5 ...
6年以上 前 | 0
回答済み
Extracting a file path from a .txt file
Attending to the title of your question, in order to extract the full path filename of a file: % Select the file you want...
Extracting a file path from a .txt file
Attending to the title of your question, in order to extract the full path filename of a file: % Select the file you want...
6年以上 前 | 0
回答済み
I want to get the image I got in a function in another function
Try using the user data to save/load variables in different functions: function selectImage_Callback(hObject, eventdata, ha...
I want to get the image I got in a function in another function
Try using the user data to save/load variables in different functions: function selectImage_Callback(hObject, eventdata, ha...
6年以上 前 | 0
| 採用済み
回答済み
how to bold only one axis?
Look at this example: % Only put in bold X axis plot(randn(100,1)); title('X axis in bold'); xlabel('X axis','fontweig...
how to bold only one axis?
Look at this example: % Only put in bold X axis plot(randn(100,1)); title('X axis in bold'); xlabel('X axis','fontweig...
6年以上 前 | 1
質問
Perfectly fitting an image on a pushbutton of my GUI
I have created a GUI where I have two pushbuttons, I have embedded an image on these pushbuttons, but as you can see there are t...
6年以上 前 | 1 件の回答 | 0
1
回答回答済み
How can I subtract 2 2D graphs made by vectors of different length?
If you want to quantify the "difference" between 2 datasets of different length, say dataset A with length 100 and dataset B wit...
How can I subtract 2 2D graphs made by vectors of different length?
If you want to quantify the "difference" between 2 datasets of different length, say dataset A with length 100 and dataset B wit...
6年以上 前 | 2
質問
Getting points with ginput from image and plotting simultaneously each selected point
I am trying to select an unlimited number of points from an image ([x,y] = ginput), and each time I select a point I want to plo...
6年以上 前 | 1 件の回答 | 0
1
回答質問
Passing a line through 2 determined points of a dataset automatically
I am trying to draw a line which cuts through approximately the middle of a cloud of points. The data sets have similar shape wi...
6年以上 前 | 1 件の回答 | 1
1
回答質問
Plot a line between 2 points and extend the line a determined distance
I am plotting a line between points: p1 and p2. Finally I want to extend this line a determined distance so it will still pass t...
6年以上 前 | 2 件の回答 | 0
2
回答回答済み
delete rows in a table
Try this % define your table table_array = [1 2; 3 2; 4 0; 5 6; 1 0; 9 0]; % search index rows [index_row index_col] = f...
delete rows in a table
Try this % define your table table_array = [1 2; 3 2; 4 0; 5 6; 1 0; 9 0]; % search index rows [index_row index_col] = f...
6年以上 前 | 1
回答済み
I need to leave values in an array in blank. NaN problem
If you are saving all the water level values in an array 1xn or nx1 (a row or column vector) , you could delete the incorrect va...
I need to leave values in an array in blank. NaN problem
If you are saving all the water level values in an array 1xn or nx1 (a row or column vector) , you could delete the incorrect va...
6年以上 前 | 0
| 採用済み
回答済み
How can I save 2D display view images of a 3D textured mesh from given view angles?
Take a look at this % 3D mesh (example) x = -2:0.25:2; y = x; [X,Y] = meshgrid(x); F = X.*exp(-X.^2-Y.^2); surf(X,Y,F)...
How can I save 2D display view images of a 3D textured mesh from given view angles?
Take a look at this % 3D mesh (example) x = -2:0.25:2; y = x; [X,Y] = meshgrid(x); F = X.*exp(-X.^2-Y.^2); surf(X,Y,F)...
6年以上 前 | 0
| 採用済み
回答済み
How to read file using textscan
Take a look here <https://es.mathworks.com/help/matlab/ref/textscan.html#btg0kes> You could try: filename = 'myFile.txt'...
How to read file using textscan
Take a look here <https://es.mathworks.com/help/matlab/ref/textscan.html#btg0kes> You could try: filename = 'myFile.txt'...
6年以上 前 | 0
| 採用済み
回答済み
Extracting lines from outer image.
An option would be using bwboundaries which obtains all the boundaries in the image. the variable boundary outputs the amoun...
Extracting lines from outer image.
An option would be using bwboundaries which obtains all the boundaries in the image. the variable boundary outputs the amoun...
6年以上 前 | 0
回答済み
Join dots in binary image.
Take a look here <https://es.mathworks.com/matlabcentral/answers/122882-connecting-points-in-binary-image>
Join dots in binary image.
Take a look here <https://es.mathworks.com/matlabcentral/answers/122882-connecting-points-in-binary-image>
6年以上 前 | 0
回答済み
How to convert from pixels to mm and from mm to pixels?
In order to obtain the number of pixels of the yellow line which you know it's real distance is 11.72 mm in the vertebral column...
How to convert from pixels to mm and from mm to pixels?
In order to obtain the number of pixels of the yellow line which you know it's real distance is 11.72 mm in the vertebral column...
6年以上 前 | 0
回答済み
How to evaluate the height and width of an object in BW image
Try this % Get boundary bw = bwboundaries(binary_img); bw = bw{1}; bw_x = bw(:, 2); %columns bw_y = bw(:, 1); %rows ...
How to evaluate the height and width of an object in BW image
Try this % Get boundary bw = bwboundaries(binary_img); bw = bw{1}; bw_x = bw(:, 2); %columns bw_y = bw(:, 1); %rows ...
6年以上 前 | 0
回答済み
How to plot figure from a stored file?
In order to combine the three graphs in a unique figure you could use subplot. figure % First set of data subplot(1,3,1...
How to plot figure from a stored file?
In order to combine the three graphs in a unique figure you could use subplot. figure % First set of data subplot(1,3,1...
6年以上 前 | 0
回答済み
Difference between {} and []
A = {0,1,2} constructs an array of class cell, basically this type of class can contain any type of data. For further informatio...
Difference between {} and []
A = {0,1,2} constructs an array of class cell, basically this type of class can contain any type of data. For further informatio...
6年以上 前 | 9
質問
Problem with bwboundaries in image processing
I am trying to do the next things: Objective: Find centroid and major axis of a set of x,y coordinates by using bwboundari...
6年以上 前 | 3 件の回答 | 0