Community Profile

photo

Nicolas B.


BRUSA Elektronik AG

93 total contributions since 2018

Nicolas B.'s Badges

  • 3 Month Streak
  • Knowledgeable Level 2
  • Promoter
  • Introduction to MATLAB Master
  • Revival Level 1
  • Community Group Solver
  • Thankful Level 1
  • First Answer
  • Solver

View details...

Contributions in
View by

Answered
I Keep Getting Error "Matrix dimensions must agree"
If you are using *, than it is a matrix multiplication and the size of your matrices must be compatible. If you want to multipl...

4 hours ago | 0

Answered
Is it possible to check logic on more than two things at the same time?
Oh, pay attention what you are using for symbols. Just a friendly reminder: && -> and condition, work only with scalars & -...

6 hours ago | 0

Answered
Index exceeds number of array elements (1)??
Base on your code, I see that at line 13 of ProgramCd, you create V as a scalar because you even ensure that Vi must be of size ...

6 hours ago | 0

Answered
How can I define variable output size of Matlab function in Simulink?
I also experienced that problem. When using the MATLAB Function block, I learned to always define the size of the inputs and out...

1 day ago | 0

Answered
Create .exe file from GUI using MATLAB Coder
Hi Harryboy, to generate a exe-file from a MATLAB GUI, you need the MATLAB Compiler Toolbox. The MATLAB Coder can generate code...

1 day ago | 0

| accepted

Answered
Error using plot, vectors must be same length
I have a question of logic about what you want to plot. Because you want t plot with: x-axis: H, size 69x1 y-axis: c(:, 1), si...

2 days ago | 0

Answered
how to plot with a or two breaking poing on x axis?
take a look at these File Exchange scripts: Break X Axis Break Y Axis

5 days ago | 0

| accepted

Answered
I want to control the variant subsystem using matlab commands/programming
You should follow the configure variant controls section of this page: Define, Configure, and Activate Variants

5 days ago | 0

Answered
standalone MATLAB executable question
that's not at all a problem. If you don't have the exact same MATLAB version with the compiler toolbox, than, you will have to i...

6 days ago | 0

Answered
How do i generate a sound directed to one headphone?
try soundsc to do so.

7 days ago | 0

Answered
load global variable from startup.m
I clearly don't recommend your to do so. Instead, I would add some functions in your standard Matlab path which returns your con...

7 days ago | 0

Answered
App designer, export an image to word
If you have the report generator, it would be the easiest way to fill a word document. Otherwise, you should use the COM server...

7 days ago | 0

| accepted

Answered
Add resources to compile .m
Personnally, I try to always access the files which are encapsulated into my applications without the path. My advice: Use MAT...

9 days ago | 1

Answered
How to run program on GPU
So the first step is to check whether you have the "Parallel Computing Toolbox" with: ver if the toolbox isn't in the list, th...

9 days ago | 0

Answered
Change a variable in a function.
I never tried with global variables but, in your case, I would recommend you to set your A has an input. What I understand, all ...

13 days ago | 0

Answered
State estimator & feedback
This forum is not here to do your homeworks. Take a look at these functions: ss pole ...

13 days ago | 0

| accepted

Answered
while-loop condition - arrays equal within a tolerance
for you case, I understand that you want the maximum absolute difference being below a limit? In that case, the "stay in" condi...

14 days ago | 1

| accepted

Answered
Resolving Algebraic Loops in SIMULINK models
From my knowledge, the only way to solve an algebraic loop without affecting at all the model is to change your model to remove ...

14 days ago | 0

Answered
finding roots of equation in matlab
I would be you, I would check whether you don't have any home-made script named roots in your MATLAB path. If you have no idea ...

20 days ago | 1

Answered
I need a code for red tomato detection from plant
There is a paper about the tomato recognition here. I guess, once you have detected the tomatoes, it's not that difficult to get...

20 days ago | 0

| accepted

Answered
Plot Unity Feedback System in MATLAB
If I understand correctly your question, you are trying to plot the step response of this function transfer: Right? Then, wh...

21 days ago | 0

Answered
from excel file import variables into more mat file.
I would recommend you to read the whole table in excel in once with, for example readmatrix and then, to save it into the mat-fi...

23 days ago | 0

Answered
how to change a 9 digit number to longitude?
I don't see any "simple" method. I would recommand you to use the following idea: % get each digit in char array digits = dec2...

26 days ago | 0

Answered
App designer (excel /database /sheets )
you can directly read/write the excel file with readtable/readmatrix and writetable/writematrix. That works pretty fluently if y...

27 days ago | 0

| accepted

Answered
finction datestr and writetable
May I ask you to use the "code" function of this website to add your code instead of a picture. It makes it easier for us to cop...

27 days ago | 1

| accepted

Answered
How can I remove duplicate values from cell array?
Does the function unique() solve your problem? So in your case, because you have a cell array: S = {1 2 2 3}; S = num2cell(...

1 month ago | 0

| accepted

Answered
How to password protect an excel file through Matlab?
I recommand you to use the xls_protect_sheets() from MATLAB exchange. It will be easier for you.

1 month ago | 0

Answered
Why can't i plot a bar figure like this example?
If I transpose life like this: x=[0 5 10 15 20 25] life=[1344 423 133 41 12 3; 939 296 93 29 9 2] L=bar(x,life'); Then I get...

1 month ago | 0

Answered
Splitting Function into Imaginary and Real
you can use the functions real() and imag() to extract respectively the real and imaginary part of a number. It also accepts vec...

1 month ago | 0

Answered
how to use passing by value and passing by reference
I highly recommend you to check the basic types of MATLAB. There is not such thing as a reference in MATLAB. However, for classe...

1 month ago | 0

| accepted

Load more