Answered
how can i complement a DNA matrix using a binary vector?
Does the following help? in this example m=5 A0='ACGT' B='0000' m=5 for k=1:1:m B=[B;A0(randi(4,...

9 years ago | 0

| accepted

Answered
Improve the precision when dealing with integers of very high order
Lakshitha you are asking a very interesting question. PC machines come with standard narrow and fixed number formats. ...

9 years ago | 0

Answered
Non-Sorted nx1 unique values
but this code seems to work with any randomly generated sequence. If it works for noise it works for any deterministic signal...

9 years ago | 0

Answered
Separating elements from a column
Waqar It seems you have the input and output signals of an amplifier. The way to solve this question is to 1.- invert ...

9 years ago | 1

| accepted

Answered
How to fill a 3D plot?
Stephan 1st your code is confusing because your are not defining 1 square, you are defining 4 squares 2nd *it is a...

9 years ago | 9

| accepted

Answered
How to calculate mean average percentage error in Matlab? (single array division)
'a priori' i see 4 possibilities, i hope you don't mind me using horizontal A and B instead of vertical: A=[1:10];B=1:2:20...

9 years ago | 0

Answered
syms but not int
Florin You have the following options: 1.- upgrade to R2016a or R2016b problem solved, whatever you key in, as long as s...

9 years ago | 1

Answered
How can we model this equation in simulink dx/dy + x + y = 1 where x is the input and y is the output.
Hi Basa got you this <</matlabcentral/answers/uploaded_files/65750/solving_equations_with_simulink2.jpg>> the upload ...

9 years ago | 0

Answered
Design a low pass filter using kaiser window
Like Start Strider points out you can manually key in filter parameter in the fvtool GUI, but can also key in all fvtool paramet...

9 years ago | 2

| accepted

Answered
Design a band pass filter using kaiser window
Gehan thanks for voting my answer to your previous question <https://uk.mathworks.com/matlabcentral/answers/317190-design-...

9 years ago | 0

Answered
I extracting data from image using OCR and data present in data.Text format.I want check the spelling mistakes in data. I saw one example but it contain data in txt format.That comand not accepting Text format file.so please help me
check the 10 first links listed here <https://uk.mathworks.com/matlabcentral/fileexchange/?search_submit=fileexchange&query=o...

9 years ago | 0

Answered
What should my parameter be for the chi2pdf?
the parameter called 'degree of freedom' of a chi-square probability distribution is not the mean value but half the variance. ...

9 years ago | 0

Answered
Textscan ignores last element in CSV file if it is empty.
The following fixes the missing value format = ['%s' repmat('%f',1,6)]; delim = ','; fid=fopen('input_csv_sam...

9 years ago | 1

| accepted

Answered
i need some help to do this assignment
Hi Abdalmoed the individual variables can be generated with command random and choosing the right parameters. 1.- the Un...

9 years ago | 0

Answered
how to remove (.) from strings in matlab
do you mean this? L='1.- Telegraph http://www.telegraph.co.uk/news/2016/12/13/spain-plans-replace-nazi-time-zone-gmt/'; ...

9 years ago | 0

Answered
Need to get dimensions to match and to return a 0 x 0 matrix for empty row.
DJ MATLAB moans, not because of if condition mismatch, but because the operator '==' doesn't work for cells, try this: c...

9 years ago | 0

| accepted

Answered
Design a high pass filter using kaiser window
Hi Gehan there are different ways to build a HPF with Kaiser time windowing 1.- manually building the time window for a LP...

9 years ago | 3

| accepted

Answered
Dijkstra algorithm to find the nodes on the shortest path and it's parcial distances
between your dijkstra function and Kirk's dijstra function there is a bit of difference. Why don't you have a look what is it th...

9 years ago | 3

Answered
How to find the max of a cell of a cell array
if all cells have same base type, you can use the following T1={1 2 3 4} cell2mat(T1) max(cell2mat(T1)) ans = ...

9 years ago | 7

Answered
Can someone show me how to find the slope of the curve created by the data below between the 3rd y value and the 31st y value.
Michael what about the following X=(0:31-1)*1.6; Y= [3.99878194204551 4.21622304481994 4.35153949206717 4.36017341484...

9 years ago | 0

Answered
Fast Fourier transform FFT
how do you expect noise to be the same, not even through 2 system you expect to be the same, but even the same system at differe...

9 years ago | 0

| accepted

Answered
Can I concatenate single column arrays into a matrix with multiple columns and scalars?
Kevin I have changed your code to avoid the matrix mismatch errors, but I am not sure what is it that you are after with thes...

9 years ago | 0

| accepted

Answered
combination of two matrices
There is not need to reshape [szA1 szA2]=size(A);[szB1 szB2]=size(B); [A(:,[1:floor(szA2/2)]) B(:,[1:floor(szA2/2)])...

9 years ago | 1

Submitted


color and tag smith chart stability circles
show what side of Smith chart 2 port S parameters input and output circles is stable or unstable

9 years ago | 1 download |

0.0 / 5
Thumbnail

Answered
How to plot Smith chart?
Hi Mr Taker There are many ways to plot data on MATLAB Smith charts 1.- basic plot of single impedance clc;clear all;...

9 years ago | 8

| accepted

Answered
Random Binary Matrix with certain weight
Moe the weight function that you may be asking for is the shape of w=randperm(numel(nA))/sum(nA) this w is only an ...

9 years ago | 0

Answered
How do I overlay an rgb image onto a background image?
Hi Lewis If I have understood your question correctly, you want to do the following: 1. clear all;clc A=imread('imag...

9 years ago | 1

| accepted

Question


how to solve wave equation for nongrounded dielectric layer
Hi In the book Microwave Engineering, by D M Pozar, 4th edition, page 136 I would like to solve the transcendental pair of ...

9 years ago | 0 answers | 0

0

answers

Answered
Find string that has multiple substrings
Tyler 1.- Instead of any(~cellfun('isempty',strfind(A,'Car' 'fast'))) you should use something like any(~ce...

9 years ago | 0

| accepted

Answered
how to plot with different distance on vertical axis
instead of plot(x,y) use function semilogx(x,y) try it if it really does what you want, would you please be so kind to mark m...

9 years ago | 0

| accepted

Load more