Community Profile

photo

Keshav


Last seen: mehr als ein Jahr vor Aktiv seit 2022

Programming Languages:
C++
Spoken Languages:
English

Statistiken

  • Knowledgeable Level 2
  • First Answer

Abzeichen anzeigen

Content Feed

Anzeigen nach

Beantwortet
Efficient Way to find index of max column for each row
Hi, Based on my understanding you have a matrix. for each row you want to find the index of maximum value. you can use the below...

mehr als ein Jahr vor | 0

Beantwortet
How to plot multiple curves on the same graph
Hi, you can use the hold on function to plot both line on same graph. you can refer to the below code. x = [1 2 3 4 5]; y = [7...

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
How to find values in a vector that are correspond to the 6th biggest values in another related vector?
you can use the below code and made the change according to you. basically idx will store the index corresponding to the sorte...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
Automate an averaging process and store info into an array
Hi, Based on my understanding you want to first calculate the average of 2 elements, 3 elements,... n elements. so if the array ...

mehr als ein Jahr vor | 0

Beantwortet
break x axis on matlab plot
Hi, Based on my understanding you want to focus only on the range between -10 and 10 on x axis. you can use the xlim function in...

mehr als ein Jahr vor | 0

Beantwortet
Is it possible to transfer a variable with values from my workspace into a excel spreadsheet automatically in my Matlab code?
As Stephen said you can follow this documentation to write data in excel file.

mehr als ein Jahr vor | 0

Beantwortet
How to download file using Mobile Matlab
you can follow this documentation in order to download files in your mobile device.

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
How can I get randperm function to calculate assigned percentage and values?
Based on my understanding, you want to generate an array of size n such that random 75% elements value is 1.5. you can use the ...

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
Use text strings in a cell array in a 'for loop' and also use that text string to name the output
you can use the below code. for i=1:length(sitearray) Output_sitearray(i) = Data.(sitename(i)).matrix(:,[1]); end

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
adding variable in the name of table for while loop
you can not use i as a variable inside Alq_i_t variable name. and instead of making 36 different variable you can make an array ...

mehr als ein Jahr vor | 1

| akzeptiert