Community Profile

photo

Robert U


2016 以来アクティブ

no additional public information

Programming Languages:
MATLAB
Spoken Languages:
English, German

Statistics

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

バッジを表示

Content Feed

表示方法

回答済み
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...

6ヶ月 前 | 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...

6ヶ月 前 | 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...

6ヶ月 前 | 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...

6ヶ月 前 | 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;...

7ヶ月 前 | 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 =...

7ヶ月 前 | 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) ...

9ヶ月 前 | 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...

9ヶ月 前 | 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 ...

9ヶ月 前 | 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...

10ヶ月 前 | 0

| 採用済み

解決済み


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

11ヶ月 前

解決済み


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

11ヶ月 前

回答済み
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...

11ヶ月 前 | 0

| 採用済み

回答済み
multiple graphs in one script
Hi basim almutairi, Simplify your life and use handles (start here: graphics-objects): figure handles, axes handles, ... Handl...

11ヶ月 前 | 0

回答済み
I don't know how to avoid eval
Hi Wan Ji, you can use cell-arrays. You don't need to assign variables with different names to multiple outputs. function p = ...

12ヶ月 前 | 2

| 採用済み

回答済み
How to set common colorbar for multiplots?
Hi UTKARSH VERMA, have a look at caxis(): [x, y] = meshgrid(0:0.1:1,0:0.1:1); z = rand(11,11,24); minColorLimit = min(min(...

12ヶ月 前 | 1

| 採用済み

回答済み
How to converting cell to matrix for image based classification?
Hi Nikhat Ali, Please have a look into documentation fitcecoc(). The way you call the function is not working since data format...

12ヶ月 前 | 0

| 採用済み

回答済み
Matrix of transfer functions
Hi Davood Raoofsheibani, you can define arrays of transfer functions similar to numeric arrays by using tf(): % define array ...

約1年 前 | 0

回答済み
Convert a Complex Number to exponential real
Hi Jogger, have a look at Euler's formula (https://en.wikipedia.org/wiki/Euler's_formula). x = 2 + 1j * 5; r = sqrt(real(x)^2...

約1年 前 | 1

| 採用済み

回答済み
Different rotations of XLabels
Hi Julie, One way to rotate single XTickLabel Strings is to replace them by text(). Advantage over annotation() is that the tex...

約1年 前 | 0

| 採用済み

回答済み
How to shift entries in a vector by the value of the number in that entry?
Hi Tim David, you can apply circshift() to the data. T = [0, 0, 4, 0, 7, 0, 0, 5, 0, 9]; shiftme = @(A,nShift) circshift(A,...

1年以上 前 | 0

回答済み
use vector as input
Hi Vincent Degonda, Your for-loop call is not providing what you expected. Your input variable is a vector already. dpb tried t...

1年以上 前 | 0

回答済み
Pass a structure to a function
Hi George Bashkatov, First of all: Do not use global variables if not absolutely necessary. There are hundreds of threads argui...

1年以上 前 | 0

回答済み
Does Matlab solver allow integration?
Hi Craig Dekker, please, have a look at the documentation symbolic int(): syms t L R Vo WR = R*((Vo/R)*exp(-t/(L/R)))^2 iWR ...

1年以上 前 | 0

| 採用済み

回答済み
How to keep decimal float point only
If it is just for display you can specify the output format in fprintf. a = 323.153; fprintf('<< a = %.0f.\n',a) output: << ...

1年以上 前 | 0

| 採用済み

回答済み
How to join a double variable and a strucure variable to plot a heat map ?
Dear Niraj Bal Tamang, According to documentation heatmap() supports tables among others. Working with tables is very convenien...

1年以上 前 | 0

| 採用済み

回答済み
plot repeating x values
Hi Christopher Tran Rojas, you have to replace the xTickLabel-Strings. Otherwise an increasing value vector is expected. Plus, ...

2年弱 前 | 0

回答済み
Frequency domain and Shannon limit
Hi long le, Matlab documentation is quite nice since it provides several examples on key topics. One possibility to transform t...

2年弱 前 | 1

回答済み
Catching a warning to avoid matrix singularity
Hi Mostafa Nakhaei, quite similar to what you describe is shown in the documentation: https://de.mathworks.com/help/matlab/ref/...

2年弱 前 | 1

| 採用済み

回答済み
How can I get an upright mu in math with latex interpreter?
Hi Philipp Rehlaender, It seems, there is no straight-forward way to do that in matlab figures. Nonetheless, there are work-aro...

2年弱 前 | 0

もっと読み込む