Kodavati Mahendra
Followers: 0 Following: 0
Audio Engineer @Sony
Statistica
RANK
1.344
of 294.043
REPUTAZIONE
50
CONTRIBUTI
1 Domanda
15 Risposte
ACCETTAZIONE DELLE RISPOSTE
100.0%
VOTI RICEVUTI
5
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
I'm trying to create Random Music Player and could use help!
% clear all; close all; clc MusicList = dir('*.m4a'); while(1) r = randi(length(MusicList),1,1) [a, Fs] = audioread(...
oltre 5 anni fa | 0
| accettato
how can i avoid return to zero from my plot
Bitsnum = 11; dataIn = randi([0 1],1,Bitsnum); i = 1; count = 0; t = 0:.01:length(dataIn); for j =1:length(t) if t(j) ...
oltre 5 anni fa | 1
| accettato
Matlab Text file I/o
charnum = char_counter('simple.txt','a') function charnum = char_counter(a,b); f = fopen(a); c = textscan(f,'%s'); charnum...
oltre 5 anni fa | 0
Generate an array with random numbers from M to N using the command randi
function [R1, R2, c] = random_test(r, s, t) if length(r)==1 r(2) = r; r(1) = 1; end rng('default'); R1=randi([r(1)...
oltre 5 anni fa | 1
Display the input options for functions with multiple input arguments
<https://www.mathworks.com/matlabcentral/answers/338247-how-to-implement-function-hints-in-your-code> I think they did not ...
oltre 6 anni fa | 1
| accettato
how can i plot different curves when both are variables ?
v= 5:2.5:40; m= 191:10:271; for i=1:length(m) KE(i,:) = 0.5*m(i).*v; end plot(m,KE); legend(string(v...
oltre 6 anni fa | 0
Why there is no space after the equal sign? (fprintf)
fprintf('%s \n',strcat("s"," = ","1000",";")); output s = 1000;
oltre 6 anni fa | 1
Generating a random matrix with range
May be something crude like this? x = rand(12,2); x(:,1) = 5*x(:,1); x(:,2) = 5+15*x(:,2) rand generates uniformly...
oltre 6 anni fa | 0
| accettato
Why does patch crash matlab?
Is that so, it doesn't crash my system. Attached the code for reference %clear all; close all; clc load('xP.mat')...
oltre 6 anni fa | 0
| accettato
How to make filename that message + date&time using [imwrite function].
filename = strcat(datestr(now,'yyyy-mm-dd HH-MM-SS-FFF'),'.png'); imwrite(red, filename); Solved? Problem was with the ...
oltre 6 anni fa | 1
| accettato
Where can I find the posixtime() function for MacOSX R2018a?
syntax p = posixtime(t) t should be <https://www.mathworks.com/help/matlab/ref/datetime.html datetime> array, not an in...
oltre 6 anni fa | 0
What part of my code do i change to print my triangle flipped?
n=input('Enter rows for left triangle\n'); for i=1:n for j=1:i x(i,j) = '*'; end end disp(fl...
oltre 6 anni fa | 0
| accettato
V_n=R*T/P
Yo something is wrong with this line. T=285;2;325; or T=285:2:325; The following works for me, Code 1: R=0.086...
oltre 6 anni fa | 0
| accettato
I want to find DFT of a input sequence. I have run the following code but not getting desired output. Is there any mistake? please help.
line 26, Y = abs(xk).^2; you can use the "fft" function in MATLAB, Lines 18-25 can be replaced with xk = fft(x...
oltre 6 anni fa | 0
| accettato
Domanda
Fir2 alternatives matlab
Right now I am using Fir2 function to generate fir filter that has the same gain and phase response as the given frequency respo...
oltre 6 anni fa | 1 risposta | 0
1
rispostaselecting certain elements of an array
s = -100:100; A = find(s>0); s(max(A(1)-20,1):A(1)+20) |Lets say S is the array of 200 elements. Use fin...
oltre 6 anni fa | 0