MATLAB Solutions & Expert Answers

Ask an expert. Trust the answer.
Academic and engineering questions answered by verified MATLAB professionals.

MATLAB expert answering student questions
Showing page 40 of 208 Ask a Question
Clustering Time Series with DTW
Manash Sahoo · Mar 23, 2023 · k medoids , please help me oh god , Mathematics and Optimization , Symbolic Math Toolbox , Data Str

Hi everyone. I have ~161 time series of heart rates taken during a vocalization. I would like to sort these using the DTW algorithm. I have tried using the following to do this:  …

How can I get the area of each polygon of a voronoi diagram?
NILESH PANDEY · Mar 23, 2023 · Computational Geometry , Voronoi Diagram ,delauney

I need to find areas of all the polygons inside a voronoi diagram and then alot diffrent properties based on different areas. I know the co-ordiantes of all the polygons but cannot…

how to plot graph with color for xy vs z?
Ruthvik sainath meka · Mar 22, 2023 · 3d plots , countours , Discrete Data Plots , MATLAB , Graphics

I want to plot a graph showing me XY values for perticulur Z value   i want z as a colour   so i will get the data as XY for pertuculur Z  …

How to make colorbar work for a scatter3 plot?
Zahra Moussavi · Mar 22, 2023 · scatter3 , plot , colorbar , MATLAB , Graphics , Formatting and Annotation , Labels and Annotations

Hi,   I am plotting a set of scatter points using the below code. It works perfectly and the graph is correct. But the colorbar is just showing values between 0 and 1 and I don't …

i need the nodes to move in different direction
rehman bin omer Abdul · Mar 21, 2023 · random mobility , MATLAB , Programming

clear all; X=200; Y=200; Num=10; n=10; Loc_Nodes=zeros(2,Num); for i=1:2 x0=rand(1,Num)*X; y0=rand(1,Num)*Y; Loc_Nodes(1,:)=x0; Loc_Nodes(2,:)=y0; end r= randsample(n,1); while(r…

How do I code for this random situation?
NAA · Mar 20, 2023 · random , monte carlo , Rational Polynomial curve fitting

On a r*c size grid, 55% of the sites are randomly filled with X, 2% randomly filled with Y, and the rest are empty.  …

How to smooth rough edges along a binary image
Caolan Furey · Mar 20, 2023 · image processing , image analysis , hand , gesture , image segmentation , Image Processing and Compu

Hey, I'm trying to mark out the tips and bases of each finger on the following image I binarized the image using the following piece of code     a = imread('img235.jpg'); a = rgb…

How to augment a vector into another vector?
Muhammad Sardar Khan · Mar 20, 2023 · vectors augmentation , MATLAB , Language Fundamentals , Loops and Conditional Statements

v1 = [0 1 2 3], v2 = [0 1 2] the resultant v3 =[0 0; 1 0; 2 0; 3 0; 0 1; 1 1; 2 1; 3 1; 0 2; 1 2; 2 2; 3 2]  …

Why the 2nd code does not behave like the 1st code?
Sadiq Akbar · Mar 20, 2023 · error , how to make same r... , GIWAXS evaluation - scripting , matlabsolutions , matlab

the code of "myfunAskMathworks.m", yo and ye both are of the order 36x1 and these are correct. But in the other  code "codeWithArrays.m", it gives error on line 35. Why is it so? …

Get a Free Consultation or a Sample Assignment Review!