Community Profile

photo

Sudheer Bhimireddy


Last seen: 6日 前

106 2020 年以降の合計貢献数

Postdoctoral research associate at Illinois State Water Survey. Using MATLAB for past 10 years.

連絡する

Sudheer Bhimireddy's バッジ

  • Knowledgeable Level 3
  • Commenter
  • Speed Demon
  • Creator
  • Promoter
  • Introduction to MATLAB Master
  • Community Group Solver
  • Solver
  • First Answer

詳細を表示...

貢献した分野
表示方法

回答済み
Writing data in columns from "for loop" to ".txt" file
Your fprintf syntax is what writing everything in one column. Try the below line and see: for count=1:10 fprintf(result_fi...

8日 前 | 0

回答済み
Shade areas between graphs
Look at area() function in MATLAB. May be that helps with your code. Below is an example: x = -3*pi : 0.1 :3*pi; y...

8日 前 | 1

| 採用済み

解決済み


Find out sum and carry of Binary adder
Find out sum and carry of a binary adder if previous carry is given with two bits (x and y) for addition. Examples Previo...

25日 前

解決済み


Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

25日 前

解決済み


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

25日 前

回答済み
how to obtain the number of lines starting with a given string from an external text file and save the numeric value of variables of those lines
Another approach: data = readtable('test.txt'); % test.txt contains the given text drl_count = sum(strcmp(data.Var1,'...

28日 前 | 1

| 採用済み

回答済み
Extracting specific rows with different content from a large table array
Convert the datenum to datetime, and then you can use the MATLAB function isbetween() to get all the indices that satisty your c...

28日 前 | 0

回答済み
How do i load massive multi-variable files and manipulate the data?
Your approach is correct. Perhaps the below code might help. % Read the txt file data = readtable('Strawberry.txt','Forma...

28日 前 | 0

| 採用済み

回答済み
Pie Chart in for loop
Are you clearing the figure at the start of each iteration in your loop? I am not seeing the problem you are facing. I got the b...

28日 前 | 0

回答済み
Plotting a contour plot with excel data
doc readmatrix Import your data into a 2D array and then decide what columns you want to plot using contourf

3ヶ月 前 | 0

| 採用済み

回答済み
Save multiple .dat files using for loop
Try this: fileName = sprintf('test%d.dat',k); writematrix(your_matrix,fileName);

3ヶ月 前 | 0

回答済み
xlswrite writing extra collumns
"e.g. columns of data from searchresult2 for filename15 get added into, and written into filename16" That's because you dont ha...

3ヶ月 前 | 0

回答済み
How can I join two parts of a char into just one?
Try this: fileID = 1; for i = 1:9 for j = 6:0.5:10 fileName{fileID,1} = strcat('SiON_D4_L',num2str(j),'_12Lyrs_T...

3ヶ月 前 | 0

| 採用済み

回答済み
Finding min values of third column for rows with similar values
If the order is not important, look at sort function.

3ヶ月 前 | 0

回答済み
Accessing Elements in a 3D matrix using Linear Indexing ?
Yes, it is possible. Read this. A = rand(10,10,10); B = A(1:2,1:2,1:2); %<- indexing the first two values in all dimensions s...

3ヶ月 前 | 0

回答済み
I dont know where im going wrong with the code
The left-hand side should be the variable alone. Change that to c = sqrt(adj^2 + opp^2) c^2 cannot be the variable name as it...

3ヶ月 前 | 0

| 採用済み

回答済み
Error using Video Writer
Your code looks strange. Do you have 'hold on' before the loop? Also if you have complete extents of your x,y variables, you c...

3ヶ月 前 | 0

回答済み
Subplot VAR variables in one figure
I just tried your code with a dummy matrix, values and see no error regarding linestyle. It would help if you can attach your ma...

3ヶ月 前 | 0

回答済み
I want to plot a graph like this in Matlab. It would be a great help if someone can help me with the same by providing the code.
Neglecting i=0, you will have 7 lines governed by that equation. Have you tried it by using a simple loop for i = 1:7 ? x = ...

3ヶ月 前 | 0

回答済み
Convert .mat file into .xls file
https://www.mathworks.com/help/matlab/import_export/exporting-to-excel-spreadsheets.html Follow the example given on that page....

3ヶ月 前 | 0

回答済み
Index exceeds the number of array elements (4)
Try debugging by placing breakpoints inside the functions. Here is what I see. Your q_level array is size 1x4 while the q_inde...

3ヶ月 前 | 0

回答済み
How to save the axes include x-axis and y-axis
Try this, after your axis() line: ax=gca; ax.XTick = 0:0.2:1; ax.XTickLabel = 0:0.2:1; ax.YTick = 0:0.2:1; ax.YTickLabel = ...

3ヶ月 前 | 0

回答済み
scatter plot with showing their means and error bars
doc errorbar Look at the matlab example: "plot error bars with no line".

3ヶ月 前 | 0

回答済み
How to make a a certain range with different color in colorbar
Try this function: https://www.mathworks.com/matlabcentral/fileexchange/4058-bluewhitered

3ヶ月 前 | 0

| 採用済み

回答済み
Plot 9 parameters for 29 country for 20 years in one curve
You can try something like this: % Read data from one sheet data = readtable('base.xlsx','Sheet','Feuil6'); % Read a param...

3ヶ月 前 | 0

| 採用済み

回答済み
Split array into training and testing based on label ?
Try this: A = rand(500,4); labels = randi([1,4],500,1); A(:,4) = labels; % Filter data based on labels A_1 = A(A(:,4...

3ヶ月 前 | 0

| 採用済み

回答済み
constructing a video from a sequence images
It depends on the order in which you are reading the image files. If you want to check this, look at your imageNames variable an...

3ヶ月 前 | 0

回答済み
Trying to save the red positions of an image
Does your image has that Red value? Double-check it. To test your code, follow this example. A = imread('ngc6543a.jpg')...

3ヶ月 前 | 1

回答済み
How to repeat different vectors to form another vector?
For OPs example, it would be: >> A = [repmat([1,2,3],1,3) repmat([4,5,6],1,3)] %... repmat([k-2,k,k],1,3)]; >> A = 1 ...

3ヶ月 前 | 0

回答済み
How to prevent decrement (melting) past 0 until growth increases again?
As soon as you estimated hsnow, force all/any negative values to 0 hsnow(hsnow<0)=0;

3ヶ月 前 | 0

Load more