Community Profile

photo

ac_bm_mat


Last seen: 2 months ago Active since 2022

Statistics

  • First Answer
  • Thankful Level 2

View badges

Content Feed

View by

Question


Save a grayscale image as an colored image
I have a matrix g It is a grayscale image with size (32,32). I want it to save it as an colored image. How to do it? imwrite...

2 years ago | 2 answers | 0

2

answers

Answered
How to rotate an image in Matlab
A = imread('ngc6543a.jpg'); You may use imread to read an image to a matrix. Then operating with A matrix can give you 90 degr...

2 years ago | 0

Question


Save current figure without axis, axis label and other border areas.
How to save current figure without axis, axis label and other white margin spaces around the figure. I don't have direct access ...

2 years ago | 1 answer | 0

1

answer

Question


Intersection of a line and 3D mesh
I have a line that connects (0,0,0) and (8,8,8). I want to highlight the 3D discretizations (mesh) of cuboid of size (8x8x8) tha...

2 years ago | 1 answer | 0

1

answer

Question


3D cuboid elements display
elem(8,8,8) = zeros; for i=1:8 elem(i,i,i)=1 end I want to plot 3D voxels or mesh or elements with different color for ...

2 years ago | 1 answer | 0

1

answer

Question


Pass objects into function
classdef myClass properties data end methods function h = myClass(data) h.data = d...

2 years ago | 1 answer | 0

1

answer