統計
All
Feeds
質問
Simscape simulation using operating points
Hello, I'm trying to proceed a simulation starting at an operating point of another simulation run. Due to convergence issues ...
1年以上 前 | 1 件の回答 | 0
1
回答回答済み
Cell Array Analysis - sequences
Doesn't the 'diff' function applied to the sequences deliver what you need?
Cell Array Analysis - sequences
Doesn't the 'diff' function applied to the sequences deliver what you need?
2年弱 前 | 0
回答済み
Best practice for saving and loading axes children from and to an app designer axes?
I'm using setappdata/getappdata for things like this. You can store/get arbitrary data (structs, objects, ...) e.g. to an app o...
Best practice for saving and loading axes children from and to an app designer axes?
I'm using setappdata/getappdata for things like this. You can store/get arbitrary data (structs, objects, ...) e.g. to an app o...
2年弱 前 | 0
回答済み
Read Excel Range which is a "Table" is not working with readtable(file,'Range','NameOfRange')
Maybe I'm wrong, but I assume Matlab can not access Excel range definitions ('Namens-Manager') and you have to address column an...
Read Excel Range which is a "Table" is not working with readtable(file,'Range','NameOfRange')
Maybe I'm wrong, but I assume Matlab can not access Excel range definitions ('Namens-Manager') and you have to address column an...
2年弱 前 | 0
回答済み
Calculate area under peak
Not sure whether I got your issue. What about resampling (resample command) the red and blue trace to the same x step size. Th...
Calculate area under peak
Not sure whether I got your issue. What about resampling (resample command) the red and blue trace to the same x step size. Th...
2年弱 前 | 1
| 採用済み
回答済み
Programmatically Flip/Rotate Simulink Block
I finally made it with the help of: How do I send keystrokes from MATLAB to another application that was invoked using the bang...
Programmatically Flip/Rotate Simulink Block
I finally made it with the help of: How do I send keystrokes from MATLAB to another application that was invoked using the bang...
2年弱 前 | 0
| 採用済み
質問
Programmatically Flip/Rotate Simulink Block
Hi, I'd like to programmatically rotate/flip a simulink block - arbitrarily. Unfortunately, the 'orientation' property seems t...
2年弱 前 | 3 件の回答 | 0
3
回答回答済み
How do I find the peak of a signal and the time of peak?
Hello, if you are already able to catch the 'max', just attach a 'Detect Change' block to it and apply this output to a trigg...
How do I find the peak of a signal and the time of peak?
Hello, if you are already able to catch the 'max', just attach a 'Detect Change' block to it and apply this output to a trigg...
約2年 前 | 0
| 採用済み
回答済み
how to change the rise time of step input in simulink
Hello, what about using a single-sided ramp function: b * (1 - exp(-a*s)) / s^2 The gradient of the rising slope is '1', so af...
how to change the rise time of step input in simulink
Hello, what about using a single-sided ramp function: b * (1 - exp(-a*s)) / s^2 The gradient of the rising slope is '1', so af...
約2年 前 | 0
質問
Get Simulink Block Object
Hello, I switched from Matlab 2020 to 2022 and now I encounter the following issue: I need to get direct access to the objects...
2年以上 前 | 1 件の回答 | 0
1
回答回答済み
How can I connect 3 Simscape ports programmatically
Hello, you can directly connect via the port pin names, instead of using the position information: add_line('sys', '1/RConn1',...
How can I connect 3 Simscape ports programmatically
Hello, you can directly connect via the port pin names, instead of using the position information: add_line('sys', '1/RConn1',...
3年弱 前 | 0
| 採用済み
質問
ilaplace gives time limited result
Hello, I try to apply a periodical pulse signal to a pT1 filter and to convert the result to the time domain. When the code be...
約3年 前 | 1 件の回答 | 0
1
回答回答済み
How to send Simulink variable to matlab?
Timeseries signals can be plotted directly: plot(simout) or separated by x and y: plot(simout.Time, simout.Data)
How to send Simulink variable to matlab?
Timeseries signals can be plotted directly: plot(simout) or separated by x and y: plot(simout.Time, simout.Data)
4年弱 前 | 0
回答済み
Why is my plot plotting blank?
Each loop you are plotting one point, only. So you either have to "hold on" the figure to prevent erasing all data before the ne...
Why is my plot plotting blank?
Each loop you are plotting one point, only. So you either have to "hold on" the figure to prevent erasing all data before the ne...
4年弱 前 | 1
回答済み
Replace every nth element in a vector
You must not start your index with '0' but with '1' Inv(1:lifetime:projectlength)= costs;
Replace every nth element in a vector
You must not start your index with '0' but with '1' Inv(1:lifetime:projectlength)= costs;
4年弱 前 | 0
| 採用済み
回答済み
Start and end point of a signal
Not sure whether I understood your question, but if you want to get the indices of an array for which the data meets certain req...
Start and end point of a signal
Not sure whether I understood your question, but if you want to get the indices of an array for which the data meets certain req...
4年弱 前 | 0
| 採用済み
回答済み
How can I send the MATLAB data(using loop) to excel???
rndMatrix = zeros(9, 4); % preallocation for i = 1:9 rndMatrix(i, 1) = i; % i rndMatrix(i, ...
How can I send the MATLAB data(using loop) to excel???
rndMatrix = zeros(9, 4); % preallocation for i = 1:9 rndMatrix(i, 1) = i; % i rndMatrix(i, ...
4年弱 前 | 0
| 採用済み
回答済み
How to change all the colours in the image to black
Try this: imageData = imread([yourFile]); % split R, G, B imgR = imageData(:, :, 1); imgG = imageData(:, :, 2); imgB = im...
How to change all the colours in the image to black
Try this: imageData = imread([yourFile]); % split R, G, B imgR = imageData(:, :, 1); imgG = imageData(:, :, 2); imgB = im...
4年弱 前 | 1
| 採用済み
回答済み
How can I determine the time t when a specific value y is reached in SIMULINK?
There are multiple ways of doing this. One is to attach the source block "clock" to a triggered subsystem which contains just a ...
How can I determine the time t when a specific value y is reached in SIMULINK?
There are multiple ways of doing this. One is to attach the source block "clock" to a triggered subsystem which contains just a ...
4年弱 前 | 1
| 採用済み
回答済み
Setting a fixed sized matrix size in Simulink at run time
First, add an input 'n' of type „Parameter“ to the Matlab function block using the Simulink ModelExplorer and un-check the “Tuna...
Setting a fixed sized matrix size in Simulink at run time
First, add an input 'n' of type „Parameter“ to the Matlab function block using the Simulink ModelExplorer and un-check the “Tuna...
4年弱 前 | 1
| 採用済み
回答済み
Dynamically adding element to an array
priceArray= ... [1 29.21 -1 29.41 -1 29.43 -1 29.63 1 29.01 0 29.21 1 28.62 ...
Dynamically adding element to an array
priceArray= ... [1 29.21 -1 29.41 -1 29.43 -1 29.63 1 29.01 0 29.21 1 28.62 ...
4年弱 前 | 1
| 採用済み
回答済み
Approximation of area of an image
Personally, I would try this: 1) Introduce an intensity threshold. All pixels below will be treated as 0, all above as 1. 2) N...
Approximation of area of an image
Personally, I would try this: 1) Introduce an intensity threshold. All pixels below will be treated as 0, all above as 1. 2) N...
4年弱 前 | 0
回答済み
For loop adding and substracting.
decrA = 0; out = zeros(1, numel(A)); out(1) = A(1); for idx = 2:1:numel(A) if A(idx) == -1 out(idx)...
For loop adding and substracting.
decrA = 0; out = zeros(1, numel(A)); out(1) = A(1); for idx = 2:1:numel(A) if A(idx) == -1 out(idx)...
4年弱 前 | 1
| 採用済み
回答済み
How can I control decimal in plot with four axes?
I don't think that it's possible what you want to achieve. A second y axis can be activated with yyaxis or plotyy (same x scali...
How can I control decimal in plot with four axes?
I don't think that it's possible what you want to achieve. A second y axis can be activated with yyaxis or plotyy (same x scali...
4年弱 前 | 0
回答済み
Plot Graph with different b Values
There is no declaration of 'r'. I guess it should be instead of 'i'? Not sure what exactly you want to plot and/or how 'M' shou...
Plot Graph with different b Values
There is no declaration of 'r'. I guess it should be instead of 'i'? Not sure what exactly you want to plot and/or how 'M' shou...
4年弱 前 | 0
回答済み
bars with mean and std on them
replace the XEndPoints/YEndPoints by XData(end)/YData(end): xtips1 = b(1).XData(end); ytips1 = b(1).YData(end); Btw, xtickl...
bars with mean and std on them
replace the XEndPoints/YEndPoints by XData(end)/YData(end): xtips1 = b(1).XData(end); ytips1 = b(1).YData(end); Btw, xtickl...
4年弱 前 | 0
| 採用済み
回答済み
How can I separate data that does not fit the required format?
Maybe I didn't get your issue, but what about using "contains" and searching for a specific identifier? E.g. contains([your_hex...
How can I separate data that does not fit the required format?
Maybe I didn't get your issue, but what about using "contains" and searching for a specific identifier? E.g. contains([your_hex...
4年弱 前 | 0
| 採用済み
回答済み
Index exceeds the number of array elements: in case of for loop.
k4 has 8 members. But the third member of Perm is 8. So plus one leads to 9 which is more than k4 contains k4(Perm(i)+1) = k4(9...
Index exceeds the number of array elements: in case of for loop.
k4 has 8 members. But the third member of Perm is 8. So plus one leads to 9 which is more than k4 contains k4(Perm(i)+1) = k4(9...
4年弱 前 | 1
回答済み
Making a change in appdesigner when deployed permanent
You have to use "load" / "save" functions to store and reload your settings. The app does not support permanent changes of the ...
Making a change in appdesigner when deployed permanent
You have to use "load" / "save" functions to store and reload your settings. The app does not support permanent changes of the ...
4年弱 前 | 0
| 採用済み
回答済み
Concatenate signals ( sine wave and a line )
I guess you want to add a X/Y line after the sine wave, right? In this case you have to concatenate X + t and Y + a in order to...
Concatenate signals ( sine wave and a line )
I guess you want to add a X/Y line after the sine wave, right? In this case you have to concatenate X + t and Y + a in order to...
4年弱 前 | 1