![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/20721678_1617035837308.png)
Robert Brown
Followers: 0 Following: 0
統計
All
Feeds
質問
how can I gracefully exit a while loop, when reading from a data file of variable length, and the file may terminate abruptly and incompletely when written
here is some sample code with comments on what is happening... (actual code reads huge file with huge messages... shortened her...
3年以上 前 | 2 件の回答 | 0
2
回答回答済み
how to create matrix?
you can specify the elements of a 3x3 matrix as follows: >> a = [1 2 3; 4 5 6; 7 8 9] the result will be a = 1 2 ...
how to create matrix?
you can specify the elements of a 3x3 matrix as follows: >> a = [1 2 3; 4 5 6; 7 8 9] the result will be a = 1 2 ...
3年以上 前 | 0
回答済み
How do I plot a point on a graph?
Add these lines to the bottom of your code, to plot the desired value as a red asterisk on the existing plot with the other data...
How do I plot a point on a graph?
Add these lines to the bottom of your code, to plot the desired value as a red asterisk on the existing plot with the other data...
3年以上 前 | 2
回答済み
How can I determine the y-intercept from known x and y values?
define a vector, x x = 1:10 define a slope, m define an intercept, b NOTE: I did this for the example, to generate the da...
How can I determine the y-intercept from known x and y values?
define a vector, x x = 1:10 define a slope, m define an intercept, b NOTE: I did this for the example, to generate the da...
3年以上 前 | 0
| 採用済み
回答済み
DCT transformation
Couldn't find your image, so I found 'rice.png' within MATLAB I = im2double(imread('rice.png')); Display the rice.png image,...
DCT transformation
Couldn't find your image, so I found 'rice.png' within MATLAB I = im2double(imread('rice.png')); Display the rice.png image,...
3年以上 前 | 0
回答済み
How to make lines plotted as dots for discontinuous data more visible in legend?
Following Chris LaPierre's advice above... plot the graphs as a group with lines at only the first point, then plot the the gra...
How to make lines plotted as dots for discontinuous data more visible in legend?
Following Chris LaPierre's advice above... plot the graphs as a group with lines at only the first point, then plot the the gra...
3年以上 前 | 1
| 採用済み
回答済み
Why is my code a matrix and not a double
1 e = [0.01; 2 0.1; 3 0.5; 4 0.9]; 5while j <= 4 6 while i <= 7 7 if M(i,j) > -pi && M(i,j) < 0 || M...
Why is my code a matrix and not a double
1 e = [0.01; 2 0.1; 3 0.5; 4 0.9]; 5while j <= 4 6 while i <= 7 7 if M(i,j) > -pi && M(i,j) < 0 || M...
3年以上 前 | 0
回答済み
Quantization of a standard Cosine signal
%% Description of Z1 First, we recognize that loop is equal to sample number. So L_level(loop) is the quantization level of th...
Quantization of a standard Cosine signal
%% Description of Z1 First, we recognize that loop is equal to sample number. So L_level(loop) is the quantization level of th...
3年以上 前 | 0
回答済み
Derivation of sin(x) gives false cos(x)
Technically, the gradient is extrapolating data!!! When you have a series of position measurements..... you require 2 positio...
Derivation of sin(x) gives false cos(x)
Technically, the gradient is extrapolating data!!! When you have a series of position measurements..... you require 2 positio...
3年以上 前 | 0
回答済み
regarding music note code can anyone explain this code line by line?
First trick with understanding this code is that you need the *.wav file. WAV is an audio recording format. Without that, the...
regarding music note code can anyone explain this code line by line?
First trick with understanding this code is that you need the *.wav file. WAV is an audio recording format. Without that, the...
3年以上 前 | 0