Beantwortet
adding two ticks to form a horizontal line
if you want to add a horizontal line to you plot you can use yline. if you want a ytick at that specific value you can write yl...

etwa 5 Jahre vor | 0

Beantwortet
what is the power of noise?
you can find the definition of the snr for example in the snr() documentation

etwa 5 Jahre vor | 0

Beantwortet
How to display small values in boxplot
for this case a logarithmic scale would be nice. the only problem is that you have 0 values which woul map to -inf. you could se...

etwa 5 Jahre vor | 0

| akzeptiert

Beantwortet
Figure Labels and Titles not showing up
call bar() first and set the labels afterwards

etwa 5 Jahre vor | 0

| akzeptiert

Beantwortet
Get the real function output to simplify without the real function in the output.
realPart=z-imag(z); has no real() function

etwa 5 Jahre vor | 0

Beantwortet
Creating an automation script that will run a series of problems
your i will run through each character of your string you combined with your [ ] (like horzcat), it will be P, then r, then o an...

etwa 5 Jahre vor | 1

| akzeptiert

Beantwortet
how to put the same value in a number of lines in the first column of a matrix and different values in the second column (values coming from vectors)
for the first column have a look into repelem(), for the second column have a look into repmat() if you need more detailed he...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
How to store words from a string in a cell array as a multiple strings
use the function strsplit() here with Delimiter ',' if your cell has name a, use strsplit(a{1},',')

mehr als 5 Jahre vor | 1

| akzeptiert

Beantwortet
How to convert total number of pixels into centimeter square?
without further knowledge it is not possible. imagine having a photo of an landscape or of your own hand, the image has same siz...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
Create a generic matrix array (coordinates ) based on input data in a specific direction as attached in the photo
here a quite manual solution, there may be something easier width=2.8; height=1.5; pointsAlongY=4; pointsAlongX=4; dx = wid...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
how to separate objects in image using matlab
if your input image has white background you can easily generate a binare image after conversion to grayscale and using threshol...

mehr als 5 Jahre vor | 0

Beantwortet
Saving data after each iteration
something similar to meanData=zeros(1,numel(fileList)); for fileNr=1:numel(fileList) load(.....,myData); ...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
Could anyone help me to solve the error undefined operator
YPred and/or YTest are cells which can contain any kind of data, also tables, graphical objects. for that reason there is no ope...

mehr als 5 Jahre vor | 0

Beantwortet
Shouldn't bwconvhull() be idempotent?
ideally it should. already the shape you provide in the original is convex, but the result of the first call of bwconvhull and t...

mehr als 5 Jahre vor | 1

Beantwortet
How to get luminance of an image?
concerning luminance have a look into <https://de.mathworks.com/matlabcentral/answers/60793-mean-luminance-values-of-an-image th...

mehr als 5 Jahre vor | 0

Beantwortet
Reconstruct the initial image with idct2
have a look into <https://de.mathworks.com/matlabcentral/answers/843390-how-wa-can-discard-75-of-small-coefficients-after-get-th...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
Hi, How can I make the axis look like in the attached figures?
what do you mean exactly? if you mean the logarithmic x axis then you can use semilogx() function for plotting

mehr als 5 Jahre vor | 0

Beantwortet
How to create a struct
use for ii = 1 : size(rock_code,1) ROCK.(str_rock{ii}) = sub_rock{1,ii}; end at the end if sub_rock cell entri...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
How to solve this simple matricial system?
you have to left multiply the matrix not right multiply inv(A)*A*u=inv(A)*h*G; leading to I*u=inv(A)*h*G; with I...

mehr als 5 Jahre vor | 1

Beantwortet
I want to learn Matlab coding , I try a lot but very weak .How to improve my Matlab coding and simulink ?
you can have a look into edx.org, there are often courses regarding matlab. another within mathworks possibility is <https://...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
plot to specific iteration steps in while loop
if you plot on every step and you want to watch at a specific step you can place an if statement together the <https://de.mathwo...

mehr als 5 Jahre vor | 0

Beantwortet
Looking for a Low Pass Filter ( < 100 Hz) that will work in Octave
i never used octave yet, but you can have a look into a very easy low pass: the moving average filter. depending on the number o...

mehr als 5 Jahre vor | 0

Beantwortet
how to update matlab 2010a to 2021a ?
there is no upgrading available, you have to install new matlab and also the toolboxes

mehr als 5 Jahre vor | 1

Beantwortet
how to extrapolate information from two columns?
i suggest to use the interp1() function twice, once with time and x and once with time and y. you can give the query point to e...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
How to call n numbers from a collumn
use the colon (:) operator plot(data(1:8));

mehr als 5 Jahre vor | 0

Beantwortet
Two Same max Values of a Array
get the maximum value and search for entries equal to that value maxEntriesIdx=find(A==max(A)); if you want to increase ...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
Is there a simple way to omit legend entries?
you can do your normal graph plotting and one of your reference lines and then you can set the auto update property of the legen...

mehr als 5 Jahre vor | 1

| akzeptiert

Beantwortet
Finding angle between 2d vectors with a four quadrant approach
have a look into the atan2() function which takes the y and x coordinate of your vector

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
Hi everyone, can anybody help me to plot?
do you execute your code in a script that is called 'plot'? then it will be difficult to use the default matlab plot command ins...

mehr als 5 Jahre vor | 0

Beantwortet
Choose the lowest value and jump into the correct if
use something like [~,idx]=min([A B C]); if idx==1 % A smallest elseif idx==2 % B smallest else % C snal...

mehr als 5 Jahre vor | 0

Mehr laden