답변 있음
How to use the Distance combination of two feature vectors to measure similarity between them?
Have you check here pdist2 (Pairwise distance between two sets)?

대략 7년 전 | 0

답변 있음
concatenate 2 matrix in loop "previous iteration"?
May be you replaced the privious C with current C, use copy privious C with other variable and do the same. while(i ~=4) ...

대략 7년 전 | 0

| 수락됨

답변 있음
Matrix row swapping with respect to column
"only 2nd and 3rd coulm row valuese have to be interchanged.?" Y=[1 3 4; 2 4 5] Z=Y; Y(:,2)=Y(:,3); Y(:,3)=Z(:,2); Y Resu...

대략 7년 전 | 0

답변 있음
how to fill gaps in a matrix with a numbers using interpolation to develop a contour.
M =[0 0 0 0 0 3 0 3 0 3 0 3 0 3 0 0 0 3 3 ...

대략 7년 전 | 1

답변 있음
scaling y-axis
Could anyone Re-scale the y-axis so the first plot '' plot(data1(:,1),data1(:,2),'r--o')'' on line 3 can appear better on the g...

대략 7년 전 | 1

| 수락됨

답변 있음
Separating vegetation from bare soil
Which are green pixels, read about RGB color model, based on that you may distinct the color of the pixel till some extent. ima...

대략 7년 전 | 1

| 수락됨

답변 있음
Read and work with medical images from Whole Brain Atlas in matlab
use dicomread detail

대략 7년 전 | 0

| 수락됨

답변 있음
how to convert image into blocks of region like 2*2 3*3 ?
Ley say the input image is input_image (gray Image), you want divide it into 3x3 blocks, you can keep all blocks in cell array ...

대략 7년 전 | 0

답변 있음
Create an array whose values depend on another array
C=[1 2 3 4 5 2 4 5 6 7 6 2 5 7 8] F=C; idx=find(C==1 | C==4 | C==7); F(idx)=1; idx=find(C==2 | C==5); F(idx)=2; idx=find(C...

대략 7년 전 | 0

| 수락됨

답변 있음
"how to create a matrix of coordinates and how to calculate the distance b/w different coordinates of the same matrix w.r.t the any single coordinate element?"
You may look at cell array a={[-10,0],[0,0],[10,0],[20,0];[-10,5],[0,5],[10,5],[20,5];[-10,10],[0,10],[10,10],[20,10];[-15,10]...

대략 7년 전 | 0

답변 있음
Fill an array in a for loop, with change of dimension
"Fill an array in a for loop, with change of dimension" Use cell array Example a={}; for i=1:... a{i}= end Now a{1},a{2} ...

대략 7년 전 | 1

| 수락됨

답변 있음
How compine features or how get same elements in 2 arrays
I am considering "or" part of the question "how get same elements in 2 arrays?" Use Intersection between two array, see detail ...

대략 7년 전 | 0

| 수락됨

답변 있음
get the features that are assigned to each image after the loop is placed in separate rows within a matrix
vec1=[1:8]; vec2=[9,10,11,12]; vec3=[1 0 2 4 13 16 20 21]; vec4=[3 4 5]; FeGabor1=[vec1,vec2,vec3,vec4]; %This is for first ...

대략 7년 전 | 1

| 수락됨

답변 있음
Working with RGB images
"How do I create cycle in this case?" Loop as discussed in below 2. "How do I count this average values and then build 3 plots...

대략 7년 전 | 2

| 수락됨

답변 있음
creating an image database
Images=dir('C:\Complete_path\Input_folder_name\*.png'); %Input Images, Note on .format outDirectory='C:\path_to create_out_fold...

대략 7년 전 | 2

| 수락됨

답변 있음
Debugging code for matrix dimensions
t=linspace(0,5,length(theta)); t and theta length must be same, thats why I have changed t with linspace, its creates the same ...

대략 7년 전 | 1

답변 있음
How to define the function to use for the composite trapezoidal rule?
"but I cant seem to do it without it saying INVALID." I did not find any coding error Main Script: %intial conditions t=li...

대략 7년 전 | 0

| 수락됨

답변 있음
Friedman Reuch Levi equation
Variable's names like x(data) is not allowed () representing array indexing, that why I have changed the variable name from log(...

대략 7년 전 | 0

| 수락됨

답변 있음
how to generate random points inside a sphere??
Please see here Random Numbers Within a Sphere Any issue let me know?

대략 7년 전 | 0

| 수락됨

답변 있음
Modeling surface potential of SOI MOSFET
The below code is compiling successfully but no graph is being displayed in the plot window? Because your phi_s is shown all va...

대략 7년 전 | 1

| 수락됨

답변 있음
How to generate random projection matrices?
function P=projection_mat(n) A=colbasis(magic(n)); P=A*inv(A'*A)*A'; end The colbasis function is here Here n represent siz...

대략 7년 전 | 1

답변 있음
How do I separate the white pixel data from binary image?
I want to separate the white pixel data from this binary image and convert it back to the rgb image for further use. What I und...

대략 7년 전 | 2

| 수락됨

답변 있음
How to assign few of the array values with a constant randomly .
m=4;n=6; A=[ones(1,m) zeros(1,n)]; [rows colm]=size(A); colm_data=randperm(colm); result=A(:,colm_data) Please do change ac...

대략 7년 전 | 0

답변 있음
Undefined function or variable.
If you are using this file exchange custom function, you have to pass SIX inputs to the function, not FIVE

대략 7년 전 | 0

답변 있음
3d surface help
x = [701850.324 701850.394 701850.512 701850.592 701850.66 701850.657 701850.592 701850.508 701850.388 701850.319 701850.324 701...

대략 7년 전 | 0

답변 있음
Splitting based on delimiter but only once
input='Country k ʌ n t r i'; str1=strtok(input) str2=extractAfter(input,str1) output={str1,str2} Results: str1 = 'Coun...

대략 7년 전 | 0

답변 있음
No value in centers when using imfindcircles
A=imread('1.jpg'); imshow(A); B=rgb2gray(A); figure,imshow(B) [centers,radii,metric]=imfindcircles(A,[1 100]); %..............

대략 7년 전 | 0

| 수락됨

답변 있음
Insert solar symbol on plot axis
Is this you are looking for? I tried with your code solar=char(9737) ylabel(['10^{-6} M_',solar, 'Year^{-1}'], 'FontSize',...

대략 7년 전 | 0

더 보기