Question

Horizontal line in plot up to a graph

How can I generate a horizontal line starting at x = 0 up to a graph (see figure, red line)? The x, y coordinates are of course ...

3 meses ago | 1 answer | 0

Question

Adjust measurement data with different vector lengths using interpolation

I have carried out various series of measurements from which I would like to form arithmetic mean values. The problem is that o...

4 meses ago | 1 answer | 0

Question

Calculate mean value from different matrices

Hi there, I have 5 different matrices (10x10000), where I want to calculate the mean value of the individual rows column by col...

4 meses ago | 1 answer | 0

Question

Plot Measuring Results with ERRORBAR

Hello, I would like to display the mean values from various measurements and of course the deviations using "errorbar". Assumi...

5 meses ago | 2 answers | 0

Question

Synchronization / division of sequenced measurement data

Hello, I have measurement data that were recorded in different sequences. Unfortunately I always have a different number. For e...

8 meses ago | 1 answer | 0

Question

Execute several m-files one after the other

For an import routine I would like to execute different m-files one after the other. Here at, the file source is then asked: [p...

8 meses ago | 1 answer | 0

Question

Plot with multiple x-axes - same scaling

Hello, I am currently desperate to try to integrate two x-axes with identical y-axes in a plot ... I have two problems here: ...

9 meses ago | 1 answer | 0

Question

How to create an underline in text

Given ist following legend: legend('Group 6 MHz \newline{\bff_1} \newline2f_2-f_3 \newlinef_2+f_3-f_4 ', ... '\newlineGrou...

11 meses ago | 2 answers | 0

Question

Colorbar - Ticklabel with variables

For a contourf plot I would like to adapt the labeling on the colorbar. I want to see the value '0', the min and max values ther...

11 meses ago | 1 answer | 0

Question

Multiple contour plots with one colorbar

I have three contourf plots in a figure, each with a separate colorbar. Since the colorbars are identical for all plots, I would...

11 meses ago | 1 answer | 0

Question

Colormap - contourf scaling and color distribution

Hi, I want to plot the matrix M_2f1 with the contourf command (logarithmic scaling). So far this works quite well. But two poi...

12 meses ago | 1 answer | 0

Question

Variable in plot title

I would like to store a title of a plot as a variable because of loop programming. The running variable is P = M_f1. M_f1 is a ...

12 meses ago | 1 answer | 0

Question

contourf with more colours

With the function contourf I created the picture below. I would like to have more color gradations in it. I succeeded in the col...

12 meses ago | 2 answers | 0

Question

Save error R² of an interpolation curve in variable

A polynomial compensation curve with its coefficients is determined at various measuring points. myfit=fit(x,y,'poly2'); A=m...

alrededor de 1 año ago | 1 answer | 0

Question

Read out parameter values of a polynomial compensation curve.

The following coordinates are given: y=[96.9;67.6;36.1;120.2;40.3;51.7;71.0] x=[216.6;318.33;418.3;535;636.66;753.3;856.66] A...

alrededor de 1 año ago | 1 answer | 0

Question

logarithmic bar chart with variable bases

I would like to use a logarithmic y axis for a bar chart. This goes with the command set(gca,'YScale','log') Now I want to...

alrededor de 1 año ago | 0 answers | 0

Question

Sort certain matrix cells in a vector

Hi there, I would like to read out certain cells from a matrix (Start_Matrix) and write them in a vector (Goal_Matrix). Star...

alrededor de 1 año ago | 1 answer | 0

Answered

Two curves in one plot with wrong scaling

I generated a spline code using the curve fitting toolbox: ft = fittype( 'smoothingspline' ); opts = fitoptions( 'Method', 'Sm...

Two curves in one plot with wrong scaling

I generated a spline code using the curve fitting toolbox: ft = fittype( 'smoothingspline' ); opts = fitoptions( 'Method', 'Sm...

alrededor de 1 año ago | 0

Question

Two curves in one plot with wrong scaling

I want to show the measurement results of two measurements with a fitting curve in a plot. Now I want both values to start at x-...

alrededor de 1 año ago | 2 answers | 0

Question

Solve a quadratic equation

So far I have solved the equation below with fsolve (with the help of this forum). tau = 0.1 f4 = [3; 2; 6; 8] f8 = [2; 6; 7...

alrededor de 1 año ago | 1 answer | 0

Question

Solve equations in a loop with fsolve

Hi there, I have two problems solving an equation: Problem 1: The equation below is to be solved component by component and t...

alrededor de 1 año ago | 2 answers | 0

Question

Solving of vectorial equations

Hi there, I have the following problem: Given are two equations: y = 2*x.^2+2*x+5 x = 3*y.^3-C C is a vector constant. No...

alrededor de 1 año ago | 1 answer | 0

Question

Plot - fill area under curve with specific x-values.

Hello, The goal is to color the areas in the curve areas where the values of the black dashed line are negative. The data are a...

casi 2 años ago | 0 answers | 0

Question

Data import window - change preferences

In the import window I would like to adjust some default settings (Column vectors, Decimal separators...), so that they are set ...

alrededor de 2 años ago | 0 answers | 0

Question

Plot - Closing the gaps between different curves

Hello, By matlab I would like to evaluate various experimental data. The results are available in different areas (0-5kHz, 5-...

alrededor de 2 años ago | 1 answer | 0

Question

Table - Write results in a new rows

From a measurement, only certain values should be written in a matlab table. These should be written successively in new rows ...

alrededor de 2 años ago | 2 answers | 0

Question

Frequency spectrum - Reading certain y-values

Given is the frequency spectrum of a measurement. The x-axis represents the frequency, the y-axis the amplitude. These are store...

alrededor de 2 años ago | 1 answer | 0

Question

Plot from two curves

Given are two interpolation curves from different measurements with different numbers of measuring points (Example: A=67points, ...

alrededor de 2 años ago | 1 answer | 0

Answered

Curve at the peak values

Thanks, with [pkt,lct] = findpeaks(ChannelE,Frequency,'Threshold',0.8); this works quite well. What's the best way to create ...

Curve at the peak values

Thanks, with [pkt,lct] = findpeaks(ChannelE,Frequency,'Threshold',0.8); this works quite well. What's the best way to create ...

alrededor de 2 años ago | 0

| accepted

Question

Curve at the peak values

For the evaluation of measurement results, a curve should be laid through the maximum values (polynomial or spline). Is there a ...

alrededor de 2 años ago | 1 answer | 0