Feeds
답변 있음
How to locate all sl_customization files on the MATLAB path?
It seems that all the sl_customization files from earlier MATLAB versions vanished in newer version. That's why the output of ...
How to locate all sl_customization files on the MATLAB path?
It seems that all the sl_customization files from earlier MATLAB versions vanished in newer version. That's why the output of ...
1년 초과 전 | 0
질문
How to locate all sl_customization files on the MATLAB path?
In MATLAB versions up to R2019b I was able to use which -all sl_customization to locate all sl_customization.m and sl_customi...
1년 초과 전 | 답변 수: 2 | 0
2
답변질문
Converting a configuration reference to a configuration
Is there a way to convert a Simulink configuration reference set to a configuration? I know that the other direction is facili...
거의 3년 전 | 답변 수: 1 | 1
1
답변질문
How to make a forced exit from Matlab with returning a code?
Hi all, I try to exit from Matlab in a script and want to return a code to the command line. I know that there is the command ...
대략 6년 전 | 답변 수: 2 | 0
2
답변답변 있음
Why bus creater (non-virtual) accepts elements according to order defined in Simulink.Bus object
I've got the same question. In addition, is there a way to assemble a non-virtual bus without beeing forced to respect the o...
Why bus creater (non-virtual) accepts elements according to order defined in Simulink.Bus object
I've got the same question. In addition, is there a way to assemble a non-virtual bus without beeing forced to respect the o...
6년 초과 전 | 0
질문
How to calculate the one's complement of the binary representation of a single precision variable in Simulink (or embedded Matlab)?
Hello everybody, I need to to convert a Simulink signal with data type 'single' to its one's complement. I tried to use a data ...
대략 8년 전 | 답변 수: 0 | 0
0
답변답변 있음
How to assign a name to a Table given set of names?
Hi Edson, would that work for you? assignin('base', ['A_' Subjects{1}], A);
How to assign a name to a Table given set of names?
Hi Edson, would that work for you? assignin('base', ['A_' Subjects{1}], A);
8년 초과 전 | 0
| 수락됨
답변 있음
how can i call a model from simulink to matlab?
I don't understand what _bit error rate_ means. But to simulate a Simulink model from Matlab, you usually use the sim() ...
how can i call a model from simulink to matlab?
I don't understand what _bit error rate_ means. But to simulate a Simulink model from Matlab, you usually use the sim() ...
8년 초과 전 | 0
| 수락됨
답변 있음
Extract data from MATLAB plots
Hi ksnf3000, I doubt that this is correct. This would calculate the mean value of ydata between the 100th and 400th data poin...
Extract data from MATLAB plots
Hi ksnf3000, I doubt that this is correct. This would calculate the mean value of ydata between the 100th and 400th data poin...
8년 초과 전 | 0
답변 있음
removing tickmarks on image in MatLab2014a
Is that doing the Job for you? set(gca,'TickLength', [0 0])
removing tickmarks on image in MatLab2014a
Is that doing the Job for you? set(gca,'TickLength', [0 0])
8년 초과 전 | 1
| 수락됨
답변 있음
Want to return multiple variables from one function to another. How to do so?
I am not really sure about what you want to achieve. At least this code is doing something: function [a,b]=fn2() a...
Want to return multiple variables from one function to another. How to do so?
I am not really sure about what you want to achieve. At least this code is doing something: function [a,b]=fn2() a...
8년 초과 전 | 0
| 수락됨
답변 있음
Run a m-file (which simulates a Markov chain) multiple times and store the results
Can't you simply use a for Loop like this one? for i=1:1000 result{i} = markov(input{i}); end % Then you ca...
Run a m-file (which simulates a Markov chain) multiple times and store the results
Can't you simply use a for Loop like this one? for i=1:1000 result{i} = markov(input{i}); end % Then you ca...
거의 9년 전 | 0
| 수락됨
답변 있음
How do you insert the date and time as the file name when using xlswrite?
Hi Lucas, that's because datestr(now) creates characters like colon (:) which are not allowed for file names. You should defi...
How do you insert the date and time as the file name when using xlswrite?
Hi Lucas, that's because datestr(now) creates characters like colon (:) which are not allowed for file names. You should defi...
거의 9년 전 | 15
| 수락됨
답변 있음
Re-arranging columns into rows
Isn't that simply done using the _reshape_ function? B = reshape(A, 1, N*N); Regards, Ralf
Re-arranging columns into rows
Isn't that simply done using the _reshape_ function? B = reshape(A, 1, N*N); Regards, Ralf
거의 9년 전 | 0
| 수락됨
문제를 풀었습니다
Create a figure and plot data
Given two data vectors (x,y), open a new figure and plot the data. Return the figure handle.
대략 9년 전
질문
How to copy field contents of one struct to another?
Hi all, I have got two structs, A and B. B has a subset of the fields of A: A.f1 = 1; A.f2 = 2; A.f3 = 3; B.f...
9년 초과 전 | 답변 수: 1 | 2
1
답변질문
How to find out if the Simulink Verification and Validation toolbox is installed?
Hi all, is there a simple way of finding out programmatically if the "Simulink Verification and Validation" toolbox is instal...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Difference of cell arrays containing strings
Hello everybody, I try to calculate the difference of two cell arrays containing strings. I want to identify the unique strin...
거의 10년 전 | 답변 수: 1 | 0
1
답변질문
Are there gauges for Matlab?
Inspired by the gauges blockset for Simulink, I am looking for gauges to use in Matlab programs. Are there any gauges like the ...
거의 10년 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
거의 12년 전
문제를 풀었습니다
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
12년 초과 전