Antonio Ciociola
Followers: 0 Following: 0
Feeds
提问
Random Point from meshgrid
Hi everybody, I've a simple problem. I've to pick a certain number "N" of point from a meshgrid. The constraints of the proble...
3 years 前 | 1 个回答 | 0
1
个回答已回答
Plotting Square wave from pressure signal
This can be done transforming your signal into an arry of logic values: sig_bool = (signal>a & signal<=d);
Plotting Square wave from pressure signal
This can be done transforming your signal into an arry of logic values: sig_bool = (signal>a & signal<=d);
4 years 前 | 0
已回答
How can I replace a value that comes after a specific string in a text file?
Use textscan: filename = 'nameofyourfile.txt'; fid = fopen(filename,'r'); [A] = textscan(fid,'%s %f') Then you can rewrite y...
How can I replace a value that comes after a specific string in a text file?
Use textscan: filename = 'nameofyourfile.txt'; fid = fopen(filename,'r'); [A] = textscan(fid,'%s %f') Then you can rewrite y...
4 years 前 | 0
| 已接受
已回答
Am I wrong? need help with a question
Your question might contain some error, I believe.. The correct formula should be: And the Volume can be calculated in this...
Am I wrong? need help with a question
Your question might contain some error, I believe.. The correct formula should be: And the Volume can be calculated in this...
4 years 前 | 0
已回答
Need to conduct analysis across four .mat files at once - how do I load multiple .mat files?
The problem seems to be related to this instruction: s = [1 4]; But then you're loading the mat files in this way: s(i) = lo...
Need to conduct analysis across four .mat files at once - how do I load multiple .mat files?
The problem seems to be related to this instruction: s = [1 4]; But then you're loading the mat files in this way: s(i) = lo...
4 years 前 | 0
已回答
my code doesn't get into my If statement
The problem seems to be here: counter=sc-4; if counter>1 && counter<sc-4 If you set "counter" to "sc-4" the following cond...
my code doesn't get into my If statement
The problem seems to be here: counter=sc-4; if counter>1 && counter<sc-4 If you set "counter" to "sc-4" the following cond...
4 years 前 | 0
| 已接受
已解决
Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...
4 years 前
已解决
Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...
4 years 前
已解决
Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...
4 years 前
已解决
Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.
4 years 前
已回答
Why I cannot "set" what I got with "get"?
Try this: set(c,{'String'},zz); For more information take a look to "set" reference page: Set Help
Why I cannot "set" what I got with "get"?
Try this: set(c,{'String'},zz); For more information take a look to "set" reference page: Set Help
4 years 前 | 0
| 已接受
已回答
How use filter from filter designer
y = filter(Hd,x); x is the signal that you want to filter.
How use filter from filter designer
y = filter(Hd,x); x is the signal that you want to filter.
4 years 前 | 1
| 已接受
已解决
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
4 years 前
已解决
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
4 years 前
已解决
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...
4 years 前
已解决
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:...
4 years 前
已回答
Problem with FFT amplitude plot
It's hard to understand the problem without data and code. The error that you get seems related to the amplitude of the spectr...
Problem with FFT amplitude plot
It's hard to understand the problem without data and code. The error that you get seems related to the amplitude of the spectr...
4 years 前 | 0
已回答
Issue with data imputation, (inserting date time value into an array of dates).
The error that you get it's caused by the horzcat function. Your datetime vector it's a row vector, therefore you have to use v...
Issue with data imputation, (inserting date time value into an array of dates).
The error that you get it's caused by the horzcat function. Your datetime vector it's a row vector, therefore you have to use v...
4 years 前 | 0
已回答
how do i convert RGB image to HSV and then generate histogram of that hsv image?
Maybe this could help: https://www.mathworks.com/matlabcentral/answers/273563-how-to-draw-histogram-of-hsv-image
how do i convert RGB image to HSV and then generate histogram of that hsv image?
Maybe this could help: https://www.mathworks.com/matlabcentral/answers/273563-how-to-draw-histogram-of-hsv-image
4 years 前 | 0
| 已接受
已回答
Sampling signal in Time domain
It seems that your data has been taken by sampling a sinusoid using a sampling frequency that is only two time the frequency of ...
Sampling signal in Time domain
It seems that your data has been taken by sampling a sinusoid using a sampling frequency that is only two time the frequency of ...
4 years 前 | 0
已回答
Calculating daily average curve from weekly data
If i don't get wrong, it seems that you want to perform this operation: %% Mean along 10 columns g1m = mean(g1,2); %% Resha...
Calculating daily average curve from weekly data
If i don't get wrong, it seems that you want to perform this operation: %% Mean along 10 columns g1m = mean(g1,2); %% Resha...
4 years 前 | 0
| 已接受