Robert U
Followers: 0 Following: 0
no additional public information
MATLAB
Spoken Languages:
English, German
Feeds
removing ticks on top and right axes
Hi Reddy Yettapu, it is not possible to control the top and right axis separately. You can add the desired behavior manually wi...
2 years 前 | 1
Extracting the name of my cell array to use for figure titles
Hi Christian Bundschu, Have a look for structure arrays (struct()). With structure arrays you can manage your cell arrays not a...
2 years 前 | 0
add ylim and xlim only in the magnitude response of bode plot?
Hi SimTec, If you are using bodeplot, you can have a look at bodeoptions()-command. There you can set the axis limits. Kind re...
2 years 前 | 0
Why figure doesn't render properly? (Opengl painters)
Hi Simone Cotta Ramusion, as suspected I could reproduce the smoothing at the edges. Setting smoothing off, eliminates the shad...
2 years 前 | 0
how to make a vertical plot?
Hi Ebru Ozcan, have a look at the viewing options of the axes. clear all; clc; close all; r=[0 0 0 0 0 0 0 0 0 0 0.25 0 0 0 0...
2 years 前 | 1
My plot command produces a blank graph, why?
Hi Spencer, Your plot contains a single point. You can make it visible with 'o' extension: % Clear everything and close everyt...
2 years 前 | 0
issue with MATLAB figure
Hi Aymen Zreikat, Please have a look at the export function you use. I recommend to use print() since it comes with several con...
2 years 前 | 0
How to combine two arrays
Hi MIch, have a look in the documentation under language fundamentals --> reshape() a = [3 5 1]; b = [4 6 7]; c= reshape([...
2 years 前 | 1
| 已接受
Select multiple radiobutton at the same time
Hi Ali, use uipanel() for the checkboxes and uibuttongroup() for the radiobuttons: myGUI; function myGUI(~) gui.fh = f...
2 years 前 | 0
| 已接受
How can I create non-uniform color divisions in a Colorbar ?
Hi Varun Pai, you have to create your own colormap in order to have non-uniformly distributed colors. Due to your division of t...
2 years 前 | 1
| 已接受
How to use Bar to plot two separate groups in the same plot??
Hi Serhat Misto, try to change XTickLabels in your axis: KPI = [ 3809 3902 3986 4063 4078 4097 4153 4243]; Inkomst = [274.6 2...
2 years 前 | 1
| 已接受
How to delete the part above the white line in a contourf figure
Hi CoderMinga, you can set the values above the white line to NaN. Then, the data points will be displayed in white in the plot...
2 years 前 | 0
| 已接受
How to insert a line over a heatmap using code?
Since the thread has be re-activated: Here, a solution for heatmap tested in Matlab 2021b. T = readtable('outages.csv'); h = ...
2 years 前 | 1
How to insert vector to table?
Hi Sierra, if you want to save vectors in table elements you can use cell arrays: testTable = table; testTable.Sex = ['M';'M'...
2 years 前 | 0
How to convert filter object to state space?
Hi tfg250, You missed to supply the sample frequency for your state space model. Converting the filter object for a time discre...
2 years 前 | 0
| 已接受
Plotting matrix as spectrogram
Hi Sania Gul, The values you provide are not consistent. I assume your "audio" is a vector of a certain length N, sampled with ...
2 years 前 | 0
| 已接受
Rename a struct with a fieldname of another struct
Hi Jan, it is good practice to load external data into a structure array such that the variable name is connected to the actual...
2 years 前 | 2
Plot alternatively between uitab of two figures
Hi Jérôme, most problems occure when not using handles. Your subplot command does not adress the correct figure. I introduced t...
2 years 前 | 1
| 已接受
Average column data with specific values
Hi Faustine Enos, I do not know how your data is available and what data type you chose. It is preferrable to use table type da...
2 years 前 | 0
| 已接受
Merge two .fig figures side by side by connecting yaxes in matlab
Hi Apashanka Das, you can copy objects from figure to figure using copyobj(). A bit tricky is to write a generally working code...
2 years 前 | 0
| 已接受
How to find the error between two plots and plot the error in same diagram
Hi Abdul Sajeed Mohammed, here some example that is close to what you do: % example data params (circular trajectory) R = 100...
3 years 前 | 0
| 已接受
Finding root using Fixed point method
Hi Aryan Efty Sham, Have a look in the community forum. The method has been discussed several times already, e.g. https://de.ma...
3 years 前 | 0
Replace a syms command
Hi Sarah Gomez, I am not quite sure whether I understood you question correctly, but removing the syms j command is not suffici...
3 years 前 | 0
How do I plot an equation with multiple Iterations.
Hi Heather Worth, you can store x1 each iteration in a vector and plot the vector at the end of the calculation. lambda=6.544;...
3 years 前 | 0
How to display a number in a scientific notation in the plot?
Hi Vikash Pandey, have a look at the function num2eng from Mathworks File Exchange. You can change easily the tick label: fh =...
3 years 前 | 0
How can I change a pixel image from black and white to red & blue
Hi Yik lok Chan, one way to do so is to utilize colormap()-command: corn_gray = imread('corn.tif',3); imshow(corn_gray) ...
3 years 前 | 0
How to give a piecewise function as input
Hi Mehul kumar, Please, have a look here: https://de.mathworks.com/matlabcentral/answers/359268-making-ramp-and-unit-step-funct...
3 years 前 | 0
save rows from an array
Hi samuel herrera, I guess, you would like to store the content of the cell array vo in vp1 and vp2, respectively. You have to ...
3 years 前 | 0
Unintended plot while using the cylinder function
Hi Kevin Hanekom, it seems your vector PStress has two colums which are both interpreted as radius by the function cylinder and...
3 years 前 | 0
| 已接受
Using symbolic variables, how do you expand polynomials to show complex roots in an equation
Hi bob, I guess it's a transfer function and you are looking for poles and zeros. syms s Num = 10^4*(s+5)*(s+70); Den = s*(s...
3 years 前 | 0
| 已接受