Robert U

Attivo dal 2016

Followers: 0   Following: 0

Programming Languages:
MATLAB
Spoken Languages:
English, German

All

Feeds

Visto da

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

quasi 2 anni fa | 1

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

quasi 2 anni fa | 0

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

quasi 2 anni fa | 0

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

quasi 2 anni fa | 0

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

quasi 2 anni fa | 1

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

quasi 2 anni fa | 0

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

quasi 2 anni fa | 0

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

quasi 2 anni fa | 1

| accettato

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

quasi 2 anni fa | 0

| accettato

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

quasi 2 anni fa | 1

| accettato

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

quasi 2 anni fa | 1

| accettato

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

quasi 2 anni fa | 0

| accettato

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

circa 2 anni fa | 1

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

circa 2 anni fa | 0

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

circa 2 anni fa | 0

| accettato

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

circa 2 anni fa | 0

| accettato

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

circa 2 anni fa | 2

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

circa 2 anni fa | 1

| accettato

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

circa 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

quasi 3 anni fa | 0

Risposto
How to give a piecewise function as input

quasi 3 anni fa | 0

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

quasi 3 anni fa | 0

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

quasi 3 anni fa | 0

| accettato

Risolto

Is my wife right?
Regardless of input, output the string 'yes'.

quasi 3 anni fa