Community Profile

photo

ac_bm_mat


Last seen: 3 Monate 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...

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

5 Monate 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 ...

5 Monate 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...

5 Monate ago | 0 answers | 0

0

answers

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

5 Monate ago | 1 answer | 0

1

answer

Question


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

5 Monate ago | 1 answer | 0

1

answer