# Joe Vinciguerra

**Statistics**

RANK**413**

of 284.569

REPUTATION**178**

CONTRIBUTIONS

**2** Questions

**58** Answers

ANSWER ACCEPTANCE **
50.0%
**

VOTES RECEIVED**30**

RANK**18.699** of 19.216

REPUTATION**0**

AVERAGE RATING**0.00**

CONTRIBUTIONS**1** File

DOWNLOADS **2**

ALL TIME DOWNLOADS**2**

RANK

of 137.315

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Submitted

ExcelColorMap

Colormap matching the Excel default Conditional Formatting 3-Color Scale.

3 dagen ago | 2 downloads |

Creating 3D efficiency map using interpolation.

Here is your existing code: %B-spline interpolation eff96_spline(:,1) = spline(1:numel(eff96(:,1)), eff96(:,1), 1:0.1:numel(ef...

5 maanden ago | 1

| accepted

How to solve Error using + Arrays have incompatible sizes for this operation.

The arrays in the definition of either F(1) or F(2) (or both) are different sizes. For example: A = 1:5; B = 1:3; A + B If l...

5 maanden ago | 0

Euler's identity with angle in degrees

[EDIT: oops. converted in the wrong direction.] deg2rad will convert degrees to radians (https://www.mathworks.com/help/matlab/...

5 maanden ago | 0

Define data list with a determine data distribution

% Generate some random data that's similar to yours Data1 = sort(randi(1e4,[10,1])); % making sure the data is sorted Data2 = ...

5 maanden ago | 0

How to use 'tiledlayout' to make multiple figures in one MATLAB script.

A new figure shouldn't replace your old figure, unless you're not making a new figure first and only calling tiledlayout. From ...

5 maanden ago | 1

| accepted

Delete every nth element in array and increasing 1 NaN value per new row

Here's how I would do it: [EDIT: misunderstood the disired result. HERE'S how I would do it...] OriginalArray = 1:10; numRows...

5 maanden ago | 0

Creating 3d surf from 2d map

It's not hard to map a constant to a new column. Just do this: eff86(:,3) = 0.86; eff90(:,3) = 0.90; % ... etc. Then plot in...

5 maanden ago | 1

How can i read the line above a certain position?

Replace "file_name" with whatever the name of your file is: f = readlines(file_name); % read the file k = find(f == "$INSERT_...

5 maanden ago | 0

| accepted

Multiple lines in one figure

The is nothing innately wrong with your code. Check that the values within rdxlim and rdylim are appropriate for the dataset. ...

5 maanden ago | 0

Table Mean and Data Entry

Use stack() to restructure your tables, and combine them into a single stacked table like this: load("Workspace.mat") combined...

7 maanden ago | 0

I have a set of data that I need to separate into unequal intervals in order to calculate the RMS value of these data (The data points are continuous over time)

Here is one way to do it based on your example: % import the data from your file using readmatrix(), but using your example: t...

7 maanden ago | 1

Problems with loops in matrix operations

It looks like you want b=0 in the first loop and b=b+1 in the second loop. Otherwise, when j=2 and b=0 the matrix1 subarray beco...

8 maanden ago | 0

Fill area between x-y data

xy = randn(100, 2); shp = alphaShape(xy, inf); area = shp.area; facets = shp.boundaryFacets; plot(shp, "LineStyle","none",...

8 maanden ago | 1

adding multiple arrays in a loop

Use S = sum(V, 1); So you end up like this: clc; clear; %% Signal Setup % Setting up sampling parameters Fs = 400e3; ...

8 maanden ago | 0

| accepted

Find the average between each pair of points in a matrix

I'm a little unclear on the specifics, but I think this is basically what you want: z = randi([-5 5],61,61,'double') zMeanV = ...

8 maanden ago | 1

| accepted

How do you replace row names with a column?

T = array2table(magic(3)); Names = {'A'; 'B'; 'C'}; T.Names = Names; T = movevars(T, "Names", "Before", "Var1"); % Here's ...

8 maanden ago | 1

How can I place the cancerous area on the CT image and separate it into ROI and non-ROI?

With the files you provided, and no special toolboxes: CT = imread("Body-CT.jpg"); % import the CT image ROI = imread("ROI.jpg...

8 maanden ago | 0

Numerical method MATLAB code

The x and y vectors for a plot need to be the same length. You were close, but looks like you had a typo. Try this: % Plot the ...

8 maanden ago | 0

How to fit 3D surface to datasets (excluding specific datapoints) without Curve Fitting Toolbox

I would recommend using either: rmmissing to remove NaN values, but be sure to remove the matching data points from your XY arr...

8 maanden ago | 0

| accepted

How to plot specific graph scale?

In addition to the comment from @Dyuman Joshi, for the y-axis you could also use ylim("tight") if you want to let Matlab figur...

8 maanden ago | 0

How to print variable and its value in the same line on Command Window

To my knowledge, there is way to modify such line breaks in the output of a command as you're describing. But, depending on your...

8 maanden ago | 0

| accepted

In this code, how can I add a time function for how long it takes to draw the graph?

tic plot(t,v) toc

8 maanden ago | 0

How can i create movable handles in Matlab graph to find data at the intersection of the handle and the graph?

If it fits your appication you could use stackedplot(): X = 0:0.1:4*pi(); Y = sin(X); stackedplot(X',Y', "DisplayLabels", "si...

8 maanden ago | 1

How to get data from a circular line on a 2D array in the anti-clockwise direction?

sz = 1024; % CCD array size A = peaks(sz); % some data from the CCD x0 = 512; % known origin X y0 = 512; % known origin Y ...

8 maanden ago | 1

| accepted

Hot plate PID control according to measured graphs

Control Systems - MATLAB & Simulink (mathworks.com)

8 maanden ago | 1

Is there anyway to create a plot with a discontinued x-axis, where the one set of data is linked to the left y-axis, and a second data is linked to right y-axis?

Glad I was able to help in the comments. Please accept this answer for future generations. From above comments: x_R1 = 0:10; ...

8 maanden ago | 0

| accepted

Matching Values from one Table to Another

Veh = [2007; 1265; 1266; 1269]; FirstVID = [1881; 1269; 2007]; SecondVID = [1892; 2188; 1266]; T = table(FirstVID, SecondVID)...

8 maanden ago | 1

Plotting Trajectories on graph

Because your results will be arrays of varying size you should consider using cells or structures to store the results. In this ...

8 maanden ago | 0

| accepted

How can I plot three columns of a dataset to produce an image or a map?

The data needs to be reshaped. Here are a few different plotting options, depending no how you went to represent the data. D =...

8 maanden ago | 1

| accepted