답변 있음
play several audio files
% Code for Audio multiple files read audio_files=dir('C:\complete_path_to folder\forlder_name\*.wav'); %.........................

거의 7년 전 | 1

| 수락됨

답변 있음
Quiver different skip factor for rows and columns
As per my basic undestanding, you can do that, because all are vectors, you can't plot the vectors having unequal lengths. But, ...

거의 7년 전 | 0

답변 있음
Extract value from Looping until or when condition is true
Is this? i=1; while ~(-1<z(i,:) && s(i,:)>3) [a(i,:)]=matfunction(e(i)); z(i,:)=a(i,1); s(i,:)=a(i,2); i=i+1; end Plea...

거의 7년 전 | 0

답변 있음
Convert indexed image to Text that give the exact position of the pixel
Gamosa Neki? Please note you can assign the rows number at the begining of the array. I way to store the all indexing (rows,col...

거의 7년 전 | 0

| 수락됨

답변 있음
I have finished with my programming about making a script file could anybody help me fix the command?
vector=cell(1,5); for i=1:5 vector{i}=rand(1,6); end data1=cell2mat(vector) or you an do concatenate arrays horizontally re...

거의 7년 전 | 0

답변 있음
Index in position 2 exceeds array bounds (must not exceed 3).
>> length(a) ans = 3 >> length(delta) ans = 13 >> size alpha ans = 1 5 Both alpha and delta have 1x...

거의 7년 전 | 0

답변 있음
Sorting specific values of one matrix into another
A=[1 2;4 5;5 6;2 7;7 3;3 1;6 4]; k=A(1,2); idx_data=[]; m=1; while k~=A(1,1) [idx c1]=find(A(:,1)==k); idx_dat...

거의 7년 전 | 0

답변 있음
I want the code to randomize the rows and present each row for 10 times
Is this? decentration = [0, 0.5; 0, 0; 0, -0.5; -0.5,0; 0.5, 0]; random_data=decentration(randperm(size(decentration, 1)),:); ...

거의 7년 전 | 0

답변 있음
I want to smooth the boarder of all white areas in this Binary Image (even the tiny ones). Consider it like smoothing with your hand.
In addition of the above links provided by @Walter morphological operations, imdilate and imclose, you may try with the followin...

거의 7년 전 | 1

| 수락됨

답변 있음
Z must be a matrix, not a scalar or vector error while using surf function.
clc; clear all; close all; x=0 y=0 u0=4*pi*(10^-7); f=5*10^6; w=2*pi*f; u=4*pi*(10^-7); U=2; N=5 Li=zeros(1,N) L0=ze...

거의 7년 전 | 1

답변 있음
How to calculate Nearest neighbor of Image after applying PCA on Image.
"Only issue am facing is how to find nearest neighbour of image after PCA" Please consider above ia a portion of the entire ...

거의 7년 전 | 0

| 수락됨

답변 있음
How to get single curve.
You defined f as scalar f = 0; %%%I.C And in the following line, try to acess as a array. u(j,n) = (1+dt*Q)*f(j) + (mu/Pr...

거의 7년 전 | 1

답변 있음
modify a certain section of the axis while keeping the rest
Try this one? x1=..; y1=..: so on .....x2,y2,x3,y3.... figure, z1 = stairs(x1, y1, 'LineWidth',1) hold on; z2 = stai...

거의 7년 전 | 0

| 수락됨

답변 있음
variable returning to scalor
Ro=0.05302; Ri=0.04826; t=400+273; nu = 1.81e-5; si = 32e-6; Po=[1e6,2e6]; Pi=0; Pm=(Pi+Po)/2; dP=Po-Pi; dR = Ro- Ri; ...

거의 7년 전 | 0

답변 있음
vector of truncated distributions
Save this function in separate Matlab file named x_vector.m function x1=x_vector() pd = makedist('Normal'); x1(1)=truncate(p...

거의 7년 전 | 1

| 수락됨

답변 있음
how to store equation values in array or matrix
i=1; y=zeros(1,n+1); for r=0:n; y(i)=factorial(n)/((factorial(n-r))*factorial(r))*((p)^(n-r))*(q)^(r); i=i+1; en...

거의 7년 전 | 1

| 수락됨

답변 있음
Subscript indices must either be real positive integers or logicals.
Abs(1)=temp; In Matlab indexing start from 1, not zero Hence Allowed A(1), A(2), A(3),.... Not Allowed A(0), A(-1), A(-2)...

거의 7년 전 | 0

답변 있음
What does Error nr mean?
Its not a Matlab Error.Just display the string as 'Error nr', when ker = 1 Diaplay from this part of the code if kerr==1 'Er...

거의 7년 전 | 0

답변 있음
how do i re-open a graph plot after a running a script?
"is there a command window input i can type to reopen the closed graph without running the code again?" My Answer is : No

거의 7년 전 | 0

| 수락됨

답변 있음
How to rearrange pixels into a new matrix form
"I have 64*64 rgb image. I want to reaarange its pixels in matrix form.I.e lowest intensity value comes to the first place (1,1)...

거의 7년 전 | 1

| 수락됨

답변 있음
Why do I not get the whole domain plotted?
Why do I not get the whole domain plotted? Because: In the first figure, there are three plots, but in your matlab code having ...

거의 7년 전 | 0

답변 있음
Find mean of rows containing decimal numbers in between integers in a column
Its just the Jugaar non-efficient code # Recomended not to use, I tried few minutes, hence I posted here Y=[1 0.098 0.00076 0....

거의 7년 전 | 0

답변 있음
Write a Matlab code to change the number of gray Levels,, Hint: BitDepth
Is this? You can slice out the LSB bits from the particular pixel values bit_plane1=bitget(grayImage,1); % LSB 1 plane , MSB 7...

거의 7년 전 | 0

답변 있음
How to add a black border to a Title ploted
You can do it in multiple ways image1=imread('test_image.png'); image1(:,1:20,:)=0; image1(:,end-20:end,:)=0; image1(1:20,:,...

거의 7년 전 | 0

답변 있음
How do I create a black background with a white line?
You can do it multiple ways image1=zeros(512,512); m=200;n=200; image2=rot90(padarray((eye(m,n)),[256-m/2,256-n/2])); result...

거의 7년 전 | 0

답변 있음
Undefined function or variable 'x'.
May Be?? function T_lnew=Tnew(x) for i=8:13 T_lnew(i-6)=x(i); end Command Window: >> Tnew(1:20) ans = 0 8 ...

거의 7년 전 | 0

답변 있음
Calculate miss classification percentage
is it the predication percentage or ture percentage ? As per my undestanding it is prediction percentage based on your proposed...

거의 7년 전 | 0

| 수락됨

답변 있음
How do I invert nested functions in MATLAB?
"If I have a variable (let's call it a) and then I apply the following multiple functions to transform it into a second variable...

거의 7년 전 | 0

| 수락됨

답변 있음
How to implement 2D hilbert transform in Matlab
x=hilbert(image); See detail here

거의 7년 전 | 1

더 보기