Community Profile

photo

Kodavati Mahendra


Last seen: 5 mesi fa Attivo dal 2017

Followers: 0   Following: 0

Contatto

Audio Engineer @Sony

Statistiche

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

Visualizza badge

Feeds

Visto da

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

circa 5 anni fa | 0

| accettato

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

circa 5 anni fa | 1

| accettato

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

circa 5 anni fa | 0

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

circa 5 anni fa | 1

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

quasi 6 anni fa | 1

| accettato

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

quasi 6 anni fa | 0

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

quasi 6 anni fa | 1

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

quasi 6 anni fa | 0

| accettato

Risposto
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')...

quasi 6 anni fa | 0

| accettato

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

quasi 6 anni fa | 1

| accettato

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

quasi 6 anni fa | 0

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

quasi 6 anni fa | 0

| accettato

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

quasi 6 anni fa | 0

| accettato

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

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

circa 6 anni fa | 1 risposta | 0

1

risposta

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

oltre 6 anni fa | 0