A répondu

How can i get required number of sample from simulink to workspace?

There are multiple possible solutions to your question (with different results), but all of them will fail the "without any dist...

How can i get required number of sample from simulink to workspace?

There are multiple possible solutions to your question (with different results), but all of them will fail the "without any dist...

plus de 6 ans il y a | 0

| A accepté

A répondu

How to a GUI directly in Simulink Model?

Not sure what you want to do exactly (or why you want to do that). What version are you using? * If you use one of the new...

How to a GUI directly in Simulink Model?

Not sure what you want to do exactly (or why you want to do that). What version are you using? * If you use one of the new...

plus de 6 ans il y a | 0

A répondu

How to edit specific lines of a large text file?

If you already know the line number that you need to edit, I suggest to use one of the following solutions on matlabcentral <ht...

How to edit specific lines of a large text file?

If you already know the line number that you need to edit, I suggest to use one of the following solutions on matlabcentral <ht...

plus de 6 ans il y a | 0

| A accepté

A répondu

Why does my data have more than 2 dimensions?

There is multiple options to force your 3d data into a vector Option 1: use dot notation % gets you a column vector a...

Why does my data have more than 2 dimensions?

There is multiple options to force your 3d data into a vector Option 1: use dot notation % gets you a column vector a...

plus de 6 ans il y a | 1

A répondu

Explanation for LSB data hiding

you might get an answer if you leave the decimal notation and go to binary. Here is a mini example dec2bin(248) = 11111000 ...

Explanation for LSB data hiding

you might get an answer if you leave the decimal notation and go to binary. Here is a mini example dec2bin(248) = 11111000 ...

plus de 6 ans il y a | 0

| A accepté

A répondu

How do you group categorical variables in order to create a boxplot?

I'm not entirely sure what you want to do, but this little example, that I created might help you to get started % create s...

How do you group categorical variables in order to create a boxplot?

I'm not entirely sure what you want to do, but this little example, that I created might help you to get started % create s...

plus de 6 ans il y a | 0

| A accepté

A répondu

Cannot make several plots in one graph with the command "hold on"

funny, all the 3 lines stay exactly on each other, that way you dont see the other two lines. So everything is working as it sho...

Cannot make several plots in one graph with the command "hold on"

funny, all the 3 lines stay exactly on each other, that way you dont see the other two lines. So everything is working as it sho...

presque 7 ans il y a | 0

A répondu

linear combination of curves to match a single curve

This can be done nicely in a least squares approach - especially with Matlab mldivide operator. I will give you an example ...

linear combination of curves to match a single curve

This can be done nicely in a least squares approach - especially with Matlab mldivide operator. I will give you an example ...

presque 7 ans il y a | 0

A répondu

Calling user functions recursively

First of all: Listen to John - he is right about this. Try not to use numbered functions and variables (you can read why this is...

Calling user functions recursively

First of all: Listen to John - he is right about this. Try not to use numbered functions and variables (you can read why this is...

presque 7 ans il y a | 0

A répondu

How to use "Variable Names" from "Import Data" UI in the legend of a plot?

Something like this? a = uiimport('test.csv'); plot(rand(10, 6)); legend(a.colheaders);

How to use "Variable Names" from "Import Data" UI in the legend of a plot?

Something like this? a = uiimport('test.csv'); plot(rand(10, 6)); legend(a.colheaders);

presque 7 ans il y a | 0

A répondu

How to use Matlab for latex output?

Here is an answer to a similar question on Matlab Central <https://de.mathworks.com/matlabcentral/answers/161458-how-can-i-ch...

How to use Matlab for latex output?

Here is an answer to a similar question on Matlab Central <https://de.mathworks.com/matlabcentral/answers/161458-how-can-i-ch...

presque 7 ans il y a | 0

A répondu

Is there a way to open *.mat file as a text file

In your *.mat file, there is only data available. So no luck there, BUT you can access your command history (if you have acce...

Is there a way to open *.mat file as a text file

In your *.mat file, there is only data available. So no luck there, BUT you can access your command history (if you have acce...

presque 7 ans il y a | 0

| A accepté

A répondu

Getting the error:Subscript indices must either be real positive integers or logicals.

The problem is, that you try to access the 4.275th (or smth) element of thetav. You can only access Elements 1 to infinity (inde...

Getting the error:Subscript indices must either be real positive integers or logicals.

The problem is, that you try to access the 4.275th (or smth) element of thetav. You can only access Elements 1 to infinity (inde...

presque 7 ans il y a | 0

A répondu

How to generate random data which follows a specific pattern ?

As KSSV said, the random function generates data very nicely. But this distribution might need to be adapted to your needs. T...

How to generate random data which follows a specific pattern ?

As KSSV said, the random function generates data very nicely. But this distribution might need to be adapted to your needs. T...

presque 7 ans il y a | 0

| A accepté

A répondu

Alert sound/mail for warning me if the program runs overtime.

Another option is to use the timer function. But it is kind of tricky and not as nice. clear all; close all; clc % Ini...

Alert sound/mail for warning me if the program runs overtime.

Another option is to use the timer function. But it is kind of tricky and not as nice. clear all; close all; clc % Ini...

presque 7 ans il y a | 0

A répondu

How to Split excel file using matlab

Hi, you should be able to build something like that, using the following commands. 1. reading your data your_data= ...

How to Split excel file using matlab

Hi, you should be able to build something like that, using the following commands. 1. reading your data your_data= ...

presque 7 ans il y a | 0

A répondu

is it possible to write a matlab code that commands outlook to constantly export information?

Hi, I might be able to provide half of the solution. I can show you how to get the active X working with Matlab and Outloo...

is it possible to write a matlab code that commands outlook to constantly export information?

Hi, I might be able to provide half of the solution. I can show you how to get the active X working with Matlab and Outloo...

presque 7 ans il y a | 0

| A accepté

A répondu

Convert base 2 to base 10 using loop

There are two errors in your code 1) Bracket at wrong position (causes your problem to stay at 128 all the time) mult(1,...

Convert base 2 to base 10 using loop

There are two errors in your code 1) Bracket at wrong position (causes your problem to stay at 128 all the time) mult(1,...

presque 7 ans il y a | 0

| A accepté

A répondu

How can i compare these two protein sequences?

I made a MWE and got a solution. When you see what was wrong you will say "oh man".... I used the following as an input. ...

How can i compare these two protein sequences?

I made a MWE and got a solution. When you see what was wrong you will say "oh man".... I used the following as an input. ...

presque 7 ans il y a | 0

| A accepté

A répondu

Help with Looping and Averages?

Here is a small script that should help you get started ice = rand(6,10); days = datetime(today)+days(1:10); % Averag...

Help with Looping and Averages?

Here is a small script that should help you get started ice = rand(6,10); days = datetime(today)+days(1:10); % Averag...

environ 7 ans il y a | 0

A répondu

How do I add column vector to a matrix ? Documentation examples does not work.

hi, this works like this A=[A, b]

How do I add column vector to a matrix ? Documentation examples does not work.

hi, this works like this A=[A, b]

environ 7 ans il y a | 0

A répondu

How do I get a Matlab UI (app) to call another UI so that it appears that my app has multiple pages?

There are two possibilities: a) create a new "Tab" in your existing GUI with uitab <https://de.mathworks.com/help/matlab/r...

How do I get a Matlab UI (app) to call another UI so that it appears that my app has multiple pages?

There are two possibilities: a) create a new "Tab" in your existing GUI with uitab <https://de.mathworks.com/help/matlab/r...

environ 7 ans il y a | 0

| A accepté

A répondu

Transpose... Not Transposing!

I suggest to consider seeing the problem from another perspective. Basically what you want is not the transpose of your input...

Transpose... Not Transposing!

I suggest to consider seeing the problem from another perspective. Basically what you want is not the transpose of your input...

environ 7 ans il y a | 2

A répondu

Help!!! Can't figure out this error

There are two solutions to your problem a) choose a format other than datenum for your dates variable, f.ex. dates = dat...

Help!!! Can't figure out this error

There are two solutions to your problem a) choose a format other than datenum for your dates variable, f.ex. dates = dat...

environ 7 ans il y a | 0

A répondu

what is the difference between A=[]; and A={}; ?

One initializes the variable as a double (or array of doubles) and the other as a cell (or a cell array) >> A=[]; >> cla...

what is the difference between A=[]; and A={}; ?

One initializes the variable as a double (or array of doubles) and the other as a cell (or a cell array) >> A=[]; >> cla...

environ 7 ans il y a | 0

| A accepté

A répondu

Fitting every fifth datapoint one after another

I have a solution that avoids the loops altogehter, but might not be as readable n = 5; % Number of datapoints x1 = resh...

Fitting every fifth datapoint one after another

I have a solution that avoids the loops altogehter, but might not be as readable n = 5; % Number of datapoints x1 = resh...

environ 7 ans il y a | 1

| A accepté

A répondu

.csv Date and Time assigned Data Import

Hi Georg, if you already extracted the required string, it can easily be converted into a datetime variable using a custom in...

.csv Date and Time assigned Data Import

Hi Georg, if you already extracted the required string, it can easily be converted into a datetime variable using a custom in...

environ 7 ans il y a | 0

A répondu

How can I loop all elements in a matrix from a cell array

One suggestion is to use the running variable k in the loop begin_el(end, :)= a{k}(1:5), e_elements(end, :) = a{k}(end-4...

How can I loop all elements in a matrix from a cell array

One suggestion is to use the running variable k in the loop begin_el(end, :)= a{k}(1:5), e_elements(end, :) = a{k}(end-4...

environ 7 ans il y a | 0

| A accepté

A répondu

How can I speed up my code?

Just a few basic tips, there is tons of reading material available online on that topic * The profiler is always a good idea ...

How can I speed up my code?

Just a few basic tips, there is tons of reading material available online on that topic * The profiler is always a good idea ...

environ 7 ans il y a | 1

| A accepté

A répondu

Global curve fitting for polynomial function

I suggest you read the help for the polyfit function <https://de.mathworks.com/help/matlab/ref/polyfit.html here> p = polyf...

Global curve fitting for polynomial function

I suggest you read the help for the polyfit function <https://de.mathworks.com/help/matlab/ref/polyfit.html here> p = polyf...

environ 7 ans il y a | 0