photo

Robert U


Active since 2016

Followers: 0   Following: 0

no additional public information

Programming Languages:
MATLAB
Spoken Languages:
English, German

Statistics

All
  • Pro
  • Treasure Hunt Participant
  • 12 Month Streak
  • Revival Level 2
  • Knowledgeable Level 4
  • Cody Challenge Master
  • Solver
  • First Answer

View badges

Feeds

View by

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

nästan 2 år ago | 1

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

nästan 2 år ago | 0

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

nästan 2 år ago | 0

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

nästan 2 år ago | 0

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

nästan 2 år ago | 1

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

ungefär 2 år ago | 0

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

ungefär 2 år ago | 0

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

ungefär 2 år ago | 1

| accepted

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

ungefär 2 år ago | 0

| accepted

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

ungefär 2 år ago | 1

| accepted

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

ungefär 2 år ago | 1

| accepted

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

ungefär 2 år ago | 0

| accepted

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

ungefär 2 år ago | 1

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

ungefär 2 år ago | 0

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

ungefär 2 år ago | 0

| accepted

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

ungefär 2 år ago | 0

| accepted

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

ungefär 2 år ago | 2

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

ungefär 2 år ago | 1

| accepted

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

ungefär 2 år ago | 0

| accepted

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

mer än 2 år ago | 0

| accepted

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

mer än 2 år ago | 0

| accepted

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

mer än 2 år ago | 0

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

mer än 2 år ago | 0

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

mer än 2 år ago | 0

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

mer än 2 år ago | 0

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

nästan 3 år ago | 0

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

nästan 3 år ago | 0

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

nästan 3 år ago | 0

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

nästan 3 år ago | 0

| accepted

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

ungefär 3 år ago | 0

| accepted

Load more