photo

Kodavati Mahendra


Last seen: 1 year 前 自 2017 起处于活动状态

Followers: 0   Following: 0

消息

Audio Engineer @Sony

统计学

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

查看徽章

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

5 years 前 | 0

| 已接受

已回答
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) ...

5 years 前 | 1

| 已接受

已回答
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...

5 years 前 | 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)...

5 years 前 | 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 ...

6 years 前 | 1

| 已接受

已回答
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...

6 years 前 | 0

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

6 years 前 | 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...

6 years 前 | 0

| 已接受

已回答
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')...

6 years 前 | 0

| 已接受

已回答
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 ...

6 years 前 | 1

| 已接受

已回答
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...

6 years 前 | 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...

6 years 前 | 0

| 已接受

已回答
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...

6 years 前 | 0

| 已接受

已回答
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...

6 years 前 | 0

| 已接受

提问


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

7 years 前 | 1 个回答 | 0

1

个回答

已回答
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...

7 years 前 | 0