Community Profile

photo

Keshav


Last seen: meer dan een jaar ago Active since 2022

Programming Languages:
C++
Spoken Languages:
English

Statistics

  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

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

meer dan een jaar ago | 0

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

meer dan een jaar ago | 1

| accepted

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

meer dan een jaar ago | 0

| accepted

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

meer dan een jaar ago | 0

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

meer dan een jaar ago | 0

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

meer dan een jaar ago | 0

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

meer dan een jaar ago | 0

| accepted

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

meer dan een jaar ago | 1

| accepted

Answered
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

meer dan een jaar ago | 0

| accepted

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

meer dan een jaar ago | 1

| accepted