Community Profile

photo

Keshav


Last seen: oltre un anno fa Attivo dal 2022

Programming Languages:
C++
Spoken Languages:
English

Statistiche

  • Knowledgeable Level 2
  • First Answer

Visualizza badge

Content Feed

Visto da

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

oltre un anno fa | 0

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

oltre un anno fa | 1

| accettato

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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 1

| accettato

Risposto
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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 1

| accettato