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

4 years ago | 0

| accepted

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 1

| accepted

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

4 years ago | 0

| accepted

Answered
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},',')

4 years ago | 1

| accepted

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

4 years ago | 0

| accepted

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 1

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

4 years ago | 0

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

4 years ago | 0

| accepted

Answered
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

4 years ago | 0

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

4 years ago | 0

| accepted

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

4 years ago | 1

Answered
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://...

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 1

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 0

| accepted

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

4 years ago | 1

| accepted

Answered
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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 0

Answered
finding closest value in specific row and columm and take value intersecting these.
first thing: you confused rows and columns, you have 5 rows and 4 columns, not the other way around (at least it appears like th...

4 years ago | 1

| accepted

Answered
What fuction can I use for represente time as an angle?
first thing: you can calculate all your angles directly using the formula in your for loop: angles=latencies*360/interval; ...

4 years ago | 1

| accepted

Load more