Community Profile

photo

Aditya Verma


Last seen: oltre 3 anni fa Attivo dal 2020

Statistiche

  • Knowledgeable Level 2
  • First Answer

Visualizza badge

Content Feed

Visto da

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

quasi 4 anni fa | 0

| accettato

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

quasi 4 anni fa | 0

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

quasi 4 anni fa | 1

| accettato

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

quasi 4 anni fa | 1

| accettato

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

quasi 4 anni fa | 0

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

quasi 4 anni fa | 0

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

quasi 4 anni fa | 0

Risposto
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]); ...

quasi 4 anni fa | 0

| accettato

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

quasi 4 anni fa | 1

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

quasi 4 anni fa | 0