MATLAB QUESTIONS & EXPERT ANSWERS

Ask an expert. Trust the answer.
Your academic and career questions answered by verified experts.

Illustration
one of the colorbars is going out of the figure window
Santhosh Krishnamurthy - 2023-06-12

I am trying to bring two pcolor plots on top of each other with different colormaps. One of the colorbars goes out of the figure window, have tried pl...

How we can use fminsearch with a vector as input and return a scaler as an output?
Eamon - 2023-06-12

Hello, I have the objective function and I want to minmize this gradiant. e is a vector of ones and y is a vector of size . The . I want find that min...

How to make a surface in polar coordinates using polar3d?
Hexe - 2023-06-12

Hello! I have an integral for a function which I plot in polar coordinates at a fixed polar angle theta (th). How to write a 3D plot for R in polar co...

How can I take the rgb value of an image and color correct to an original rgb value?
Brooklyn - 2023-06-08

I am needing to write a code that takes the rgb value of a reference square in an image, and color correct it to the orginal rgb value of the referenc...

How can I find the elapsed time between two images from video file with matlab?
bykado - 2023-06-08

How can I find the elapsed time between two images from video file with matlab?   I drop a drop of water on a surface. I want to find the water absor...

How to extract data from txt file and plot spectogram?
Rahul - 2023-06-08

Hello, I have a large sample of data (100000 samples) in txt file consisting of time and amplitude of the signal.   I want to plot spectogram. The co...

How can I subscribe to Image topic on ROS Matlab and obtain the RGB image?
Pedro Gusmao - 2023-06-06

Hello,   Please, how can I extract an image from a ROS Image Message followed by an imshow? I have already subscribed to the correct topic but messag...

how to convert .bag file into .pcd in matlab (Lidar Data) ?
R.W. swami - 2023-06-06

I'm using L515 Lidar for data collection, I'm getting data .bag format from Realsense Viewer . I need to convert to .pcd format, How can I achieve tha...

How to remove column with 0 in matrix?
Joshua Chhour - 2023-06-06

I have a 0x100x150 double, but how do I get rid of the zero, so it becomes 100x150?...

How to delete entire row of an array?
Jason - 2023-06-06

How can I remove the entire row if either value is less than 5:   Coord = 2 3 2 39 1 88 9 74 10 93 16 28 16 50  ...

Get a Free Consultation or a Sample Assignment Review!