SHIVAM KUMAR
Followers: 0 Following: 0
Estadística
0 Preguntas
14 Respuestas
0 Problemas
2 Soluciones
CLASIFICACIÓN
2.628
of 295.673
REPUTACIÓN
22
CONTRIBUCIONES
0 Preguntas
14 Respuestas
ACEPTACIÓN DE RESPUESTAS
0.00%
VOTOS RECIBIDOS
1
CLASIFICACIÓN
of 20.262
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
78.131
of 154.257
CONTRIBUCIONES
0 Problemas
2 Soluciones
PUNTUACIÓN
30
NÚMERO DE INSIGNIAS
1
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Resuelto
Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...
casi 4 años hace
How to change time intervals to time elapsed
You can do this simply using a loop a=[1 2 1 1 3] sum=0; result=zeros(1,length(a)); for i=1:length(a) sum=sum+a(i); ...
casi 4 años hace | 0
| aceptada
Plotting multiple points on a graph using for loop
Final version clc clear all close all fn= @(xi,omega,t) (1-((exp(-xi*omega*t))/sqrt(1-xi^2)).*sin(omega*sqrt(1-xi^2)*t+acos(...
casi 4 años hace | 0
| aceptada
How to create a function as sum of some sine functions?
This can be done like y=0; %necessary to add the other things for i=1:length(a) y=y+a(i).*sind(2*pi*f(i).*t+theta(i)); e...
casi 4 años hace | 1
How can I use a loop to input different arrays into the same equation so I do not have to repeat code?
You can make A as a vector A=[[1 2 3 4];[5 6 7 8];[9 10 11 12]]; A=A*3; To use A or B or C we can use A(1,:) %To use as A A...
casi 4 años hace | 0
How can I use a loop to input different arrays into the same equation so I do not have to repeat code?
Don't know why you want to use a loop for that . for i=1:3 Arr[i,:]=Arr[i,:]*3; %That's only useful if you have a vector. ...
casi 4 años hace | 0
Delete rows from an array
Your code will work like this if used on 1 D array . CEC((2+6):end) = [0]; If you are using that your array shall be 52560X525...
casi 4 años hace | 0
2 Variable increment in one "for Loop'
Or use j= 2*i for i=1:9 %the end term will also come so use 9 here. j=2*i; %function end
casi 4 años hace | 0
Remove duplicates only for specific values
After using that array of elements to value_to_remove . A = [1,2,2,3,3,4,5,5,5,6]; value_to_remove = [2,3]; is_repeting=zeros...
casi 4 años hace | 0
Function Matlab graph help
This shall be done in a script or even in command window. x=-2:0.1:2 ; %makes an array for x with values -2 to 2 with increment...
casi 4 años hace | 0
| aceptada
Is there any command by which we can plot the constellation points with arrows in between??
Maybe try the grid on command it will generate a graph sheet so easier to compare distances. scatterplot(qam_modulated_data) g...
casi 4 años hace | 0
| aceptada
Index exceeds the number of array elements (1).
I run it with adding 1 more dot before division . this runs and plots the graph though I am not sure if everything is working fi...
casi 4 años hace | 0
| aceptada
Index exceeds the number of array elements (1).
What I guessed it you didn't use the loop properly clear all; Rj=(1:1:30); Pj= 1; %Power in Watts Gj= 1; %Gain of antenna of...
casi 4 años hace | 0
Plot a rectangular Pulse from -1 to 1
% the syntax for taking input t eg:[-2 -1 1 2] =>t1=[-2,-1 ], t2=[-1 1], t3=[1 2]. %I was sleepy earlier so didn't run the co...
casi 4 años hace | 0
Change the data from table format to double format
%Just import the table in matlab and it shall come as double . %Later you can select the required columns using trainingdata(:...
casi 4 años hace | 0