Ask an expert. Trust the answer.
Your academic and career questions answered
by verified experts.
I want to plot the surface Z of arbitrary given values for each X,Y-pair. I usually IMPORT the tables with the X,Y,Z data, so I they are not a matr...
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...
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. ...
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 =...
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] ...
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 er...
Suppose there are two variables. v1 = [1 2 3]; m1 = [1 2 3; 4 5 6]; I hope to create another matrix m2, having the same size with m1, and its (i, j...
hi i have two vectors diffrent lengths with diffrent values i want to match closest index in one vector to other example : v1 = [1610759986514 1...
Hi, I have a serious issue in matlab. I have 2 vectors v1 and v2 and length(v1) = 1376872, length(v2) = 1350228. Vector v2 contains information abo...
Hi there, my question could easily be solved with a simple loop but I'm curious if there is a nice genuine matlab way of doing this: I have a vecto...