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

1 month 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...

2 months 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...

2 months 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...

2 months 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 ...

2 months 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...

2 months 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...

5 months 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...

5 months 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...

5 months 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...

5 months 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...

6 months 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-...

6 months 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...

6 months 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...

6 months 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...

6 months 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...

1 year 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 ...

1 year 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-...

1 year 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 ...

1 year 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...

1 year 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, ...

1 year 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 ...

1 year 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 ...

1 year ago | 1 answer | 0

Question

Frequency spectrum - Curve at the maximum values

Hello, How can I generate a curve at the maximum values in Matlab? (See example red curve) Many Thanks!

1 year ago | 1 answer | 0

Question

FFT - Matlab Code not correct

Hello, By means of ultrasonic sensors I made some measurements and would like to evaluate them now via Matlab (data source "d...

2 years ago | 1 answer | 0

Question

FFT - Output maximum values

Hello, Is there an easy way to read the maximum amplitudes with the corresponding frequencies in Matlab after the FFT? Man...

2 years ago | 0 answers | 0

Question

Matlab FFT - sampling frequency

For the evaluation of ultrasound measurement data the frequency analysis should be carried out by means of Matlab. A sampling f...

2 years ago | 1 answer | 0

Question

FFT from measured data - Scaling y-axis

Hi all, As a data basis, I have measured data the volts were recorded. Matlab will now be used to perform an FFT. I have th...

2 years ago | 2 answers | 0