Community Profile

photo

Jaya


Last seen: circa un anno fa Attivo dal 2021

Statistiche

  • 3 Month Streak
  • Knowledgeable Level 1
  • Thankful Level 3
  • First Answer

Visualizza badge

Content Feed

Visto da

Risposto
SNR estimation from a radar sensor signal
Firstly, I strongly suggest you to post this in some stack exchange forums for better answers. Because your question doesn't con...

circa 2 anni fa | 0

Risposto
Convolving Two Signals Using Matlab.
The steps and the answer looks right to me. I also used an online convolution calculator to verify this. I didn't do by hand as...

oltre 2 anni fa | 0

| accettato

Domanda


Efficiently identifying a set of 1s: follow up question after months later
I asked a question that had my working but an inefficient code. It was answered. https://www.mathworks.com/matlabcentral/answe...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Comparing elements of cell arrays
My given cell array (p) and existing cell arrays (routes_log) with whom this given one is to be compared are as below. p={[1...

oltre 2 anni fa | 2 risposte | 0

2

risposte

Risposto
Execute parfor iterations in order!
You need not run 4 times first and then start with 5. You can directly do the parfor for 1:20. Assuming yours is a quad core, th...

oltre 2 anni fa | 1

Domanda


What toolbox is required for allpaths() built-in command?
I found out that there is an in-built command to find possible paths between two nodes in a graph. paths = allpaths(G,s,t) But...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Specifying more cores than needed for parfor? Any speedup?
A trivial question: Does specifying to use more cores than the no. of parfor iterations in the code make the execution time any ...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Parfor iterations and number of cores
I am using parfor for the first time. I run a piece of code 'multiple' times and get an output y each time. Finally, I take aver...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


How to use Poisson distribution?
Initially I was using poissrnd command to generate Poisson distributed numbers but I had no info on how to make them 'arrive' in...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Error using for loop to delete empty cell array elements
I want to completely delete the null elements of routes_log cell array. I use the following code. temp_routes_log=routes_...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Risposto
How to save slurm output in my home drive?
Hey, I have been also using this slurm stuff from a week or so. I don't face this problem though. I have the following lines in...

oltre 2 anni fa | 0

Domanda


How to model exponential holding times? Please help.
In my code, after performing some action (e.g. changing var=0 to var=1), I need to trigger a time which is representative of how...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Poisson process: exponential inter arrival time vs exponential holding time
Inter arrival times in a Possion process is exponentially distributed. So I assume when I use the below command the ouputs foll...

oltre 2 anni fa | 0 risposte | 0

0

risposte

Risposto
Need help with implementing a formula
Maybe I got your question wrong and missing something complex in the equations. But my comment would be using two for loops. Out...

oltre 2 anni fa | 0

| accettato

Risposto
What does @m and m(:) signify here?
From what I know, @(m) specifies a function that which will be defined in terms of m. And what the function does i.e. the funct...

oltre 2 anni fa | 0

Risposto
How can I delete my account ?
You might consider seeing this link. I see some staff answers in this. https://www.mathworks.com/matlabcentral/answers/70962-how...

oltre 2 anni fa | 0

Domanda


Infinite looping: Knowing its presence in a big program?
I have a big code and multiple .m files connected to it. The program itself takes time and was running perfectly. But I made cha...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Finding consecutive zeros in an array. Not able to solve using diff command
I have an array like below a=[0 0 1 1 -1 0 0 0 1 1 1 -1 0 0 1 -1] %in my actual code, there are many elements There is a -1 af...

oltre 2 anni fa | 2 risposte | 0

2

risposte

Domanda


How to make my code faster when working with for loop code & large array indexing?
I have a demands vector that gives output as below. It means I have 4992 demands at first time instant and then 5025,etc. % dem...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Problem with cell array appending
mycell is appended with cell arrays in three different areas of my code. Like below mycell= { } mycell= A(:,:,1) %1st time. ...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


How to catch 'not enough input arguments' error?
Is there any way I can catch the error 'Not enough input arguments'? For e.g. the below line in a function of my big code throws...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Any efficient way to identify a set of 1s in a big array?
I have an array called link_slots of 800 elements made of 1, 0 and -1. E.g. 1 1 1 -1 0 0 0 0 1 1 -1 0 0 1 1 1 1 -1 0 0 .... So...

oltre 2 anni fa | 2 risposte | 0

2

risposte

Domanda


Traffic generation using poissrnd()
I generate 24 numbers using possrnd as below lambda=50 r = poissrnd(lambda,1,24) % One output is 47 58 45 52 57 44 53 ...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Is it possible to solve the below using ode45? Please anyone reply as I am stuck on this for a long time.
Set of five coupled 1st order differential equations (dPi/dz), one each for P1,P2,P3,P4,P5. For conditions, I have values at z=0...

quasi 3 anni fa | 0 risposte | 0

0

risposte

Risposto
Convert Nan to zero in fplot
You can do something like below example to make whatever NaN present in your (((f_disp-u_AB)/u_AB)*100) as 0. The A below can ...

quasi 3 anni fa | 1

Risposto
For loop with two array
I don't know about the infinite looping reason but one thing I can ask is, are you sure the code is written as you intended? Bec...

quasi 3 anni fa | 0

Domanda


ode45 or bvp4c? Which one suits this scenario? Please anyone reply
I have a set of differential equations (dPi/dz) for power say for P1 to P7. I have initial power values for P1 to P4 at z=0 an...

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Parentheses error with a function call
What is wrong with this function call? It's so basic but don't know what I am missing. The error is "Invalid expression. When ...

quasi 3 anni fa | 2 risposte | 0

2

risposte

Domanda


New type of ode45 question: coupled equations but with large summations on dependent variables
I am trying to replicate the following set of equations. i am getting wrong values. Can anyone see the code and please tell me i...

quasi 3 anni fa | 0 risposte | 0

0

risposte

Domanda


Help for new type of ode45 question: coupled equations but each with large summations on dependent variables
Hello everyone, I have seen all ode45 answers but no case seems to be like the one below in which each equation has summations ...

quasi 3 anni fa | 0 risposte | 0

0

risposte