photo

Aditya Verma


Last seen: 4 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
Plotting Piece-wise like function
You can use hold to plot multiple graphs in the same figure. This way you can graph any picewise function: x1 = 0:3; x2 = 3:4;...

4 years ago | 0

| accepted

Answered
1-d array plotted with imagesc shown as 2-d
You can change the size of the current figure (gcf) using the position propery: imagesc(1:10); set(gcf,'position',[0, 0, 500, ...

4 years ago | 0

Answered
intensity value of the pixel located
Your image is stored as a matrix in MATLAB. So, for getting the pixel intensity value you need to read the image: image_mat = r...

4 years ago | 1

| accepted

Answered
how can i convert following script into c coding
Hi! You can check out MATLAB Coder, it allows you to generate C/C++ code from MATLAB code. However it doesn't support all MATLA...

4 years ago | 1

| accepted

Answered
How to export imaris image to MATLAB?
Hi! While MATLAB doesn't support imaris file format out of the box (which can be check from here), you can use the implementati...

4 years ago | 0

Answered
Work with data just in selected paths
Hi! Could you check in the lists of all search paths if you have accidently added those subfolders? You can check it using the ...

4 years ago | 0

Answered
Porting code to c++
Hello! You can try the famous OpenCV library. It also has inbuilt constructs to parallelize your code. It uses the BSD 3-Clause...

4 years ago | 0

Answered
Setting Axis scale steps
Hello, You can set the x-axis ticks using xticks function: x = 0:0.1:5; plot(x, sin(x)); xticks(0:0.83:5); xlim([0 5]); ...

4 years ago | 0

| accepted

Answered
How to write piecewise function in matlab for the following function. Please give me matlab code.
Hello there! You can code a piecewise function using conditional statements. More specifically, using if-else clause in this ca...

4 years ago | 1

Answered
How to repeat whole coding by increasing value of variable
Hi, you can use functions to avoid code repetition: for bus_value = 20:10:60 [ploss, location1, location2, real1, real2, r...

4 years ago | 0