답변 있음
Solve a system of differential equations which has blkdiag
given i as identity with coeherent dimensions to x: blkdiag(x'.*i) edit: to create i use the eye(n) function, where n is the ...

거의 2년 전 | 0

답변 있음
What is the purpose of this code?
line per line load signal; %load signal fs = 100; t = (1:length(signal))/fs; %create linspace (the time axis) for i = 1:100 ...

거의 2년 전 | 0

답변 있음
to receive data from simulink and send to app designer
one option would be to have some to workspace blocks in the simulink file: Log data to workspace from Simulink model - Simulink ...

거의 2년 전 | 0

답변 있음
I need the matlab code for the following equation. The values of the parameters in the equation is given .
try with this, assuming that the units don't need conversion : syms t mu=200; %cm^2*V^-1 * s^-1 R = 0.318; alpha= 6000; %c...

거의 2년 전 | 0

| 수락됨

답변 있음
how to extract double value from a string?
assuming the string is always formatted as such you could just: s='D:\MATLAB\noise_check\bilder\Image_230217_1227_Temp_ 42,75.p...

거의 2년 전 | 0

답변 있음
How to separate Day side & Night side time stamps and corresponding VTEC data from whole months data ?
Try this and tell me if it is what you wanted: dayFilter=and(hour(Date)>=6,hour(Date)<=18); %creates a filter for day hours ni...

거의 2년 전 | 0

| 수락됨

답변 있음
Why does the step response to my discrete system not match between MATLAB and Simulink?
Had the same problem earlier, it's late but it can be helpful for others i guess: instead of using the discrete transfer functi...

거의 2년 전 | 0

답변 있음
Importing .mat files in a loop
let's say you are in the directory, then: matFiles=dir ('*.mat'); %finds all the .mat files (struct) [NoF,~]=size(matFiles); ...

거의 2년 전 | 1

질문


Discrete input to continuous transfer function
I'm modeling a discrete pid to control a step response for a continuous system. From left to right: i have a continuous signal...

거의 2년 전 | 답변 수: 1 | 0

1

답변

문제를 풀었습니다


Test if a Number is a Palindrome without using any String Operations
*Description* Given an integer _X_, determine if it is a palindrome number. That is, _X_ is equal to the _X_ with the digits ...

거의 2년 전

문제를 풀었습니다


Number of 1s in the Binary Representation of a Number
*Description* Return the number of 1s in the (unsigned integer) binary representation of a number. This function should be ab...

거의 2년 전

답변 있음
ode45 returns NaN
The values of t and T from iteration 1 to 5 are: t= 0.1 T=57.2 t= 0.1 T=59.4 t= 0.1 T=57.49 t= 0.1 T=377.82 t= 0.1 T=NaN ...

거의 2년 전 | 1

| 수락됨

답변 있음
Can't progress on simulink onramp in MATLAB function block
you can try to either: copy paste the ^ symbol from here (an annoying procedure) use the function power (A,B). Notice that th...

거의 2년 전 | 0

답변 있음
Why isn't a GoTo tag used in asbQuadcopter's Non-linear airframe block showing it's corresponding From tag outside that block and how to fix it?
The global scope can be useful to connect From and Goto blocks anywhere in the model BUT the location must be virtual. You canno...

거의 2년 전 | 0

| 수락됨

답변 있음
How to plot graphs successively using loop
I think the issue is with the if statement: if k==c since the plotting happens inside of the if statement it will only happen ...

거의 2년 전 | 0

| 수락됨

답변 있음
paths removed and Set Path saved yet removed paths reappear at start up
2 alternative methods i would try: 1. rmpath(genpath(topLevelFolder)); %in case it has subfolders that create issues genpath m...

거의 2년 전 | 0

문제를 풀었습니다


Energy Conversion 1

거의 2년 전

문제를 풀었습니다


Energy Conversion 2

거의 2년 전

문제를 풀었습니다


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

거의 2년 전

문제를 풀었습니다


Area Conversion 2

거의 2년 전

문제를 풀었습니다


Area Conversion 1

거의 2년 전

문제를 풀었습니다


Mass Conversion 2

거의 2년 전

문제를 풀었습니다


Mass Conversion 1

거의 2년 전

문제를 풀었습니다


Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.

거의 2년 전

문제를 풀었습니다


Temperature Conversion 2

거의 2년 전

문제를 풀었습니다


Temperature Conversion 1

거의 2년 전

문제를 풀었습니다


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

거의 2년 전

답변 있음
what is the error? Example?
there is a ';' in the function call on line 1: function w=ket(;5)

거의 2년 전 | 0

답변 있음
dbstop if error: before it was stopping at error in my code, now set the break point into Matlab native functions
you can use the navigation bar on top of the editor. Here i'm inside matlab defined funciton Here i hop out and it points at...

거의 2년 전 | 0

| 수락됨

답변 있음
Shuffle row order within every N rows in a matrix
i think this would do the trick: [rows,~]=size(m); if mod(rows,2)==0 %detects if even or odd number of rows half=rows/2; ...

거의 2년 전 | 0

더 보기