Community Profile

photo

Kodavati Mahendra


Last seen: 5 mois il y a Actif depuis 2017

Followers: 0   Following: 0

Contact

Audio Engineer @Sony

Statistiques

All
  • First Review
  • Community Group Solver
  • ASEE Challenge Master
  • Knowledgeable Level 2
  • Thankful Level 1
  • Creator
  • CUP Challenge Master
  • Speed Demon
  • First Answer
  • Commenter
  • Promoter
  • Solver

Afficher les badges

Feeds

Afficher par

A répondu
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(...

environ 5 ans il y a | 0

| A accepté

A répondu
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) ...

environ 5 ans il y a | 1

| A accepté

A répondu
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...

environ 5 ans il y a | 0

A répondu
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)...

environ 5 ans il y a | 1

A répondu
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 ...

presque 6 ans il y a | 1

| A accepté

A répondu
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...

presque 6 ans il y a | 0

A répondu
Why there is no space after the equal sign? (fprintf)
fprintf('%s \n',strcat("s"," = ","1000",";")); output s = 1000;

presque 6 ans il y a | 1

A répondu
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...

presque 6 ans il y a | 0

| A accepté

A répondu
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')...

presque 6 ans il y a | 0

| A accepté

A répondu
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 ...

presque 6 ans il y a | 1

| A accepté

A répondu
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...

presque 6 ans il y a | 0

A répondu
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...

presque 6 ans il y a | 0

| A accepté

A répondu
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...

presque 6 ans il y a | 0

| A accepté

A répondu
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...

presque 6 ans il y a | 0

| A accepté

Question


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...

environ 6 ans il y a | 1 réponse | 0

1

réponse

A répondu
selecting 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...

plus de 6 ans il y a | 0